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.isort: 4.2.5 -> 4.3.4 #36426
Conversation
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.
Would you mind moving the expression out of python-packages.nix
?
pkgs/top-level/python-packages.nix
Outdated
@@ -8977,13 +8977,13 @@ in { | |||
isort = buildPythonPackage rec { | |||
name = "${pname}-${version}"; |
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.
drop this line
pkgs/top-level/python-packages.nix
Outdated
@@ -8977,13 +8977,13 @@ in { | |||
isort = buildPythonPackage rec { | |||
name = "${pname}-${version}"; | |||
pname = "isort"; | |||
version = "4.2.5"; | |||
version = "4.3.4"; | |||
src = pkgs.fetchurl { |
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.
Please use fetchPypi
instead
I think isort is a dependency of the some other packages or apps, and we cannot easy move it out of the |
@couchemar the expression can be moved to |
ok, i will change soon |
@dotlambda @FRidh |
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.
Please add some blank lines where appropriate
inherit pname version; | ||
sha256 = "1y0yfv56cqyh9wyg7kxxv9y5wmfgcq18n7a49mp7xmzka2bhxi5r"; | ||
}; | ||
propagatedBuildInputs = [ ] ++ optionals isPy27 [ futures ]; |
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.
propagatedBuildInputs = lib.optional isPy27 futures;
sha256 = "1y0yfv56cqyh9wyg7kxxv9y5wmfgcq18n7a49mp7xmzka2bhxi5r"; | ||
}; | ||
propagatedBuildInputs = [ ] ++ optionals isPy27 [ futures ]; | ||
# Some tests not pass |
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.
Do you know why they fail?
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.
No, there is 3 tests which fails when i make nox-review ...
I have no idea why...
@couchemar I simply disabled the failing tests. Please have a look. @GrahamcOfBorg build python2.pkgs.isort python3.pkgs.isort |
Success on x86_64-linux (full log) Attempted: python2.pkgs.isort, python3.pkgs.isort Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python2.pkgs.isort, python3.pkgs.isort Partial log (click to expand)
|
Is there reasons do not merge this request? |
None besides me not noticing your approval. |
Motivation for this change
Update isort to the most recent version
Related to #35444
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)