-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python312Packages.telfhash: drop nose dependency #330005
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.
Please migrate to pyproject = true;
at the same time.
checkPhase = '' | ||
nosetests | ||
''; | ||
doCheck = false; # no tests |
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.
Is this required?
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.
From what I can see there really is just no tests in the codebase, and @natsukium prefers that this is explicitely set
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.
Alright; very strange.
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.
Result of nixpkgs-review pr 330005
run on x86_64-darwin 1
4 packages built:
- python311Packages.telfhash
- python311Packages.telfhash.dist
- python312Packages.telfhash
- python312Packages.telfhash.dist
checkPhase = '' | ||
nosetests | ||
''; | ||
doCheck = false; # no tests |
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.
Alright; very strange.
--replace-fail "python-tlsh" "tlsh" \ | ||
--replace-fail "py-tlsh" "tlsh" \ | ||
--replace-fail "nose>=1.3.7" "" |
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.
nits: you can use pythonRemoveDeps
here.
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 didn’t know about that, thank you! Sorry for not catching this. At least it was already present before in this case.
Description of changes
No tests are present, remove
nose
and setdoCheck = false;
part of: #326513
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.