-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Matplotlib git master version fails to pass serveral pytest's tests. #17310
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
Compare the actual and expected images in the |
I find all of the failed-diff files as following:
But some of them are "empty" without content, others have something like garbled. I still cannot figure out the reason. See the following for you info: |
What is your version of dvipng? If it is 1.16 there's a known issue about that (#16476 (comment)). Otherwise please delete your ~/.cache/matplotlib/tex.cache and try again. |
Now, I updated to dvipng 1.17 shipped with TeX Live 2020, see following:
But pytest still throws errors, see following:
|
Almost all of our tests are set to 0 difference thresholds, some of the "empty" images make have only a few pixels off by a few bits which is extremely hard to see by eye in the difference images. That said, the three images in |
But what's the meaning of this from my testing results:
Regards |
Sorry for the very slow response
That means 60 tests were skipped (usually because you are missing an optional dependancy) and 11 tests that we expect to fail failed (some are tests that are documenting bugs, at least one is testing that the tests fail when we think they should). |
How to check out the full list for these dependencies? I install the git master version of matplotlib using the following command in its local repo folder:
|
Look at the files https://github.com/matplotlib/matplotlib/tree/master/requirements/testing for what we install on CI. I think we have some platform specific tests so it may not be possible to run every test on your system (this is why we test on windows, linux, and OSX as part of CI). I suspect you are missing one or more of the GUI frameworks. |
Still no so clear. There are several files and do you mean I should install all the packages listed in these files for doing the tests?
|
I installed the requirements list here with the following commands:
Then run pytest and obtain the following results:
|
Moved this to 3.4 as I think that the pdf / pgf failures are due to the latex changing under us. |
@tacaswell Have you tested them? |
For |
Those remaining tests have now got updated images, because we no longer run CI on Ubuntu 16.04 that needed the old ones. So I'm closing this. |
Hi,
The environment is as follows: Ubuntu 19.10, python 3.8.2 managed by pyenv and matplotlib git master version. See the following for the testing steps and results:
Any hints for solving this problems?
Regards
The text was updated successfully, but these errors were encountered: