-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
pythonPackages311.pysha3: replace with safe-pysha3 #232845
Conversation
Right, assuming the packages would have otherwise been built successfully, this breaks builds for python < 3.9. This only affects eth-hash as far as I can tell. |
We could also remove
|
Sure thing. For future reference, is it written out anywhere which python versions are supported for a given release of nixpkgs / when it is OK to remove non-building packages? |
I don't think that's documented, but you can usually figure it out by looking in
Only the package sets with |
Is the import name the same? |
Yes, both |
rebased due to conflicts from #232892 |
pkgs/top-level/python-aliases.nix
Outdated
@@ -225,6 +225,7 @@ mapAliases ({ | |||
Pyro4 = pyro4; # added 2023-02-19 | |||
Pyro5 = pyro5; # added 2023-02-19 | |||
PyRSS2Gen = pyrss2gen; # added 2023-02-19 | |||
pysha3 = safe-pysha3; # added 2023-05-19 |
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.
Probably just deprecate it instead, if additional postPatch is needed.
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.
Done
Description of changes
safe-pysha3
is a drop-in replacementsafe-pysha3
no longer supports Python < 3.9.ZHF: #230712
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)