-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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/hooks: restore catchConflictHook for python<3.10 #267669
Conversation
@ofborg eval |
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 confirmed that python2 itself and some python2-modules can be built.
The rebuild seems way too big for |
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.
fine for me to go the easy way for python2
I'm fine with leaving python2 broken in this cycle. |
5cc5dee
to
82d5b90
Compare
Rebased and extended the scope for the old hook to include everything up to and including 3.9. This is because the importlib.metadata module in that version is lacking.
|
By restoring and diverting to the old version. Previously the newer language features and use of more modern stdlib imports broke the hook on Python<3.10.
94eedee
to
f292ef4
Compare
This reverts commit 397a8fd. The hook now uses the old implementation based on the deprecated pkg_resources library provided by setuptools again.
By restoring and diverting to the old version.
Previously the newer language features and use of more modern stdlib imports broke the hook on Python<3.10.
Fixes https://hydra.nixos.org/build/240532695/nixlog/2
cc #263535
Description of changes
Things done
resholve
)nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)