-
Notifications
You must be signed in to change notification settings - Fork 196
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
Include test data in PyPi tarballs #21
Comments
Hi Atemu, aren't all of the tests and fixtures available by cloning this repository? |
Yes but I'd rather use PyPi as the source because that'd allow you to update the package by version number instead of git revision (e.g. "1.7.1" vs. "77d334f7f386f79ec0571325500054fdab207f31"). See the comment in https://github.com/NixOS/nixpkgs/blob/db427f7f5ebee23823bf65c74b901b3c8ed6f4f5/pkgs/development/python-modules/jc/default.nix, it makes things clearer and easier to read. Also, I think that if tests are included in a distribution of source code, you should be able to run them successfully. |
Gotcha - I opened the package zip and I see the tests are there but not the fixtures since |
Hi Atemu, I think I have the test fixtures added in v1.7.2, now available on pypi. Could you let me know if that works for you or if I need to make any more adjustments? Thanks, |
It works, thank you! |
It'd be a very minor inconvenience for me but that's not a good reason to make packaging for other projects harder. |
I'm trying to package jc for Nix and would prefer to run the tests but they fail because they can't find their test data.
The text was updated successfully, but these errors were encountered: