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
Python: several fixes (2) #29009
Python: several fixes (2) #29009
Conversation
@@ -22,11 +23,12 @@ buildPythonPackage rec { | |||
|
|||
doCheck = false; | |||
|
|||
buildInputs = [ coverage tornado mock nose psutil pysocks ]; | |||
buildInputs = [ pytest mock tornado ]; |
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.
checkInputs = [ pytest mock ];
@@ -24,7 +26,8 @@ buildPythonPackage rec { | |||
buildInputs = [ | |||
mock | |||
sh | |||
pytest_27 | |||
pytest | |||
pytestrunner | |||
git | |||
]; |
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.
checkInputs = [ pytest pytestrunner mock ];
@@ -22,11 +23,12 @@ buildPythonPackage rec { | |||
|
|||
doCheck = false; | |||
|
|||
buildInputs = [ coverage tornado mock nose psutil pysocks ]; | |||
buildInputs = [ pytest mock tornado ]; | |||
propagatedBuildInputs = [ pyopenssl cryptography idna certifi ipaddress pysocks ]; |
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.
Archlinux seems to have banned certifi
from their core repos as it introduces a new ssl trust store.
(But this is just an unrelated issue)
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.
That's indeed a bigger issue. Would be nice to see a RFC on how we are going to handle certificates. I think some choices were made but they're not documented.
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.
Based on @Mic92 's review, I checked which package is only required for checkPhase, and just force updated my two commits at sifmelcara/nixpkgs@e641285 |
1e705b1
to
7dec7e8
Compare
ebadc21
to
469990e
Compare
I might have forgotten to add secretstorage as a propagatedBuildInput of the python keyring package, could you add it please ?
while
works fine. |
downgrade because the previous upgrade broke the package. The latest version requires a setuptools bump which we won't do yet.
which was broken after the cryptography bump to 2.x. cc maintainer @fpletz
9413ec5
to
4ecfeb5
Compare
Python: several fixes (2) (cherry picked from commit aabadda)
Motivation for this change
Continuation of #28884. These fixes will also need to be backported to 17.09.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)