-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
python3Packages.pastescript: remove nose dependency #327246
python3Packages.pastescript: remove nose dependency #327246
Conversation
Addresses NixOS#326513. Dependency nose was removed in version 3.3.0 (2023-01-03). Replaced `format` parameter with `pyproject = true` and `build-system` set to `setuptools`
5a001db
to
e426922
Compare
@ofborg build python3Packages.pastescript |
# test suite seems to unset PYTHONPATH | ||
doCheck = false; | ||
|
||
nativeCheckInputs = [ | ||
nose | ||
pytestCheckHook | ||
]; | ||
nativeCheckInputs = [ pytestCheckHook ]; |
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.
The tests are still broken, I guess?
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.
Yes. The package exports its namespace as paste
which clobbers the pre-existing dependency with the same name.
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.
Uh, wow, okay!
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.
pastedeploy does something similar but its tests pass. Probably the use of the deprecated pkg_resources
is causing the issue? Anyways, it's not something we should try to fix.
Description of changes
Addresses #326513.
Dependency nose was removed in version 3.3.0 (2023-01-03). Replaced
format
parameter withpyproject = true
andbuild-system
set tosetuptools
.Things done
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/
)Add a 👍 reaction to pull requests you find important.