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.grandalf: init at 0.6 #54403
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.
This issue with pytestrunner
being a requirement for the setup script has been discussed by another maintainer here #53599 (comment)
The concensus that came from is we should patch pytestrunner
out of setup_requires
and into test_require
.
If we were to do doCheck = false
the checkInputs
wouldn't then be added to nativeBuildInputs
thusly breaking the build.
Furthermore, you should switch to using fetchFromGitHub
to get the tests.
@worldofpeace There are so many python packages that just stick |
Certain people, including me, are willing to take things to the point of impracticality 😄
Yes, I feel like this should be done in addition to patching this for now. |
3737f38
to
ad7c305
Compare
So this is done, and the tests work. I have 2 weird things that I'm confused about here though.
|
That is because it is base32 encoded instead of base16.
I think it allows you to invoke tests like |
@GrahamcOfBorg build pythonPackages.grandalf python3Packages.grandalf |
Thanks 😄 |
Just want to point out that this package is dual licensed under GPL2 and EPL1: https://github.com/bdcht/grandalf/blob/master/LICENSE. So this package should have both licenses added to the |
Motivation for this change
Required for #49438. This library deals with graphs.
This package has tests, however the tests are not part of the source distribution, so we just need the test dependencies to satisfy the
setup.py
but we cannot run any tests.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)