New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.jira: fix build #41419
Conversation
@GrahamcOfBorg build python36Packages.jira |
Success on x86_64-linux (full log) Attempted: python36Packages.jira Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python36Packages.jira Partial log (click to expand)
|
@@ -12,7 +14,7 @@ buildPythonPackage rec { | |||
}; | |||
|
|||
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ]; | |||
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml ]; | |||
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml sphinx pbr ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are sphinx
and pbr
really needed at runtime? If they're used only for building, why propagate them?
Success on x86_64-darwin (full log) Attempted: python36Packages.jira Partial log (click to expand)
|
@xeji without
Regarding |
Thanks.
Good idea. |
@xeji you were right, it's indeed possible to drop |
Thanks, sounds good. |
@@ -1,29 +1,35 @@ | |||
{ lib, buildPythonPackage, fetchPypi, isPy3k | |||
, pytest, pytestrunner, pbr, glibcLocales , pytestcov | |||
, requests, requests_oauthlib, requests_toolbelt, defusedxml }: | |||
, requests, requests_oauthlib, requests_toolbelt, defusedxml | |||
, flaky, ipython |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see where flaky
is used below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh dammit, this was part of the attempt to get the test suite running 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... it's a lot easier to find this stuff in other people's code than in your own 😄
The build for `pythonPackages.jira` failed with the following error: ``` Download error on https://pypi.python.org/simple/sphinx/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'sphinx' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or working download links found for sphinx>=1.6.5 Traceback (most recent call last): ... File "/nix/store/bp4dillg6xxblpf00v8d9nxfx3bnggfy-python3.6-bootstrapped-pip-10.0.1/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 667, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('sphinx>=1.6.5') builder for '/nix/store/8dv7mpspyk6kxwnzqb43rzm4q5j14xp0-python3.6-jira-1.0.15.drv' failed with exit code 1 ``` The root issue is most likely caused by some docs fixes upstream (pycontribs/jira@519183d) which were released in 1.0.15. The bump (without the fix) has been performed in 7a6bf66. Since `sphinx` isn't needed during runtime, it's not necessary to use it as `propagatedBuildInput`. In order to work around this the dependency had to be removed from from `setup.py`. See https://hydra.nixos.org/build/75004048 for further reference
@GrahamcOfBorg build python36Packages.jira |
Success on x86_64-linux (full log) Attempted: python36Packages.jira Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: python36Packages.jira Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python36Packages.jira Partial log (click to expand)
|
thx for your support! :) |
* master: (26 commits) python.pkgs.cairocffi: update tests for Cairo 1.15.12 python.pkgs.cairocffi: 0.8.0 -> 0.8.1 freecell-solver: fix build perlPackages.CPANPLUS: restore build inputs removed in #41394 Fix GHCJS 8.4/8.2 in sandboxed builds (#41411) dockerTools.pullImage: expose image* attributes (#41366) rust: disable tests on darwin python.pkgs.detox: 0.11 -> 0.12 certbot: disable check on darwin freeimage: fix build with glibc 2.27 shadowsocks-libev: supports darwin (#41421) pythonPackages.jira: fix build (#41419) SDL: propagate libiconv schema2ldif: Init at 1.3 nixos/exim: Add unit restart trigger (#41418) Add myself as maintainer for dnsdist Add myself as maintainer synapse-bt: init at 2018-06-04 (#41402) skim: 0.3.2 -> 0.4.0 (#41417) ctags: fix source url (#41382) ...
Motivation for this change
The build for
pythonPackages.jira
failed with the following error:The root issue is most likely caused by some docs fixes upstream
(pycontribs/jira@519183d)
which were released in 1.0.15. The bump (without the fix) has been
performed in 7a6bf66.
See https://hydra.nixos.org/build/75004048 for further reference
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)