-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Include tests.py in archive of release #6017
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
Comments
Oops, I should remember to search in the closed issues as well :-) I'm packaging a bunch of (Python) packages for Nix/NixOS. We basically have a function to a build a Python package, and by default tests are also automatically run with That reminds me. I just accidentally happened to notice that tests had to be run like this. Nowadays, with the newer versions of With matplotlib |
At the very least, it should probably exit with a non-zero exit code. |
We did have support for |
👍 to dying less cleanly and 👍 to not spending any more time getting We might want to re-evaluate the second part if/when the move to |
Am I correct that from 2.0 the sdist won't include the tests? |
the source dist should include all of the tests and baseline images. |
Indeed, they are included, though not installed, which is fine. I was just checking how to run the tests now since we get |
Yes, that should be possible. See s https://matplotlib.org/2.1.0/api/api_changes.html#default-install-no-longer-includes-test-images [edited to point at stable link, thanks @kapsh ] |
If somebody wants to read last link, it is https://matplotlib.org/2.1.0/api/api_changes.html#default-install-no-longer-includes-test-images to be precise. |
Thanks @kapsh ! I should have used the stable link initially. |
Hi , I have installed matplotlib 2.2.3, and i have enabled the flag " local_freetype=True" in setup.cfg.template . But still i am getting the error . Please check below for the error. ===== Python 3.7.1 (default, Feb 6 2019, 03:49:16)
root@fcdd10:/home/sameer# ====== Thanks, |
@sameer-dubal can you please move this discussion to the user mailing list? |
It seems matplotlib tests need to be run with
python tests.py
. Unfortunately,tests.py
is not included in releases. Please add this file, since it makes it easier for maintainers to check whether their package works. Thanks!The text was updated successfully, but these errors were encountered: