-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
matplotlib 3.3.0 debian amd64: tests errors #11324
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
there are several other arch with the same issues, so i'm not going to report them all: you can check the full build report at https://buildd.debian.org/status/package.php?p=matplotlib&suite=sid (clicking on the Installed links to see their full logs) |
Are these still a problem with 2.2.5? And, since this appears to be Python 3, with 3.3.0? |
yes they are still happening:
|
(must admit i did not look into them at all so some could be also for missing a proper setup in our building env :) ) |
I assume you're using system FreeType; make sure to pull the updated tolerance patch from https://github.com/fedora-python/matplotlib/commits/fedora-patches |
yep, we use the system freetype; we've already relaxed some of the tolerances in https://salsa.debian.org/python-team/modules/matplotlib/-/blob/master/debian/patches/0008-Increase-test-tollerance.patch (and as the comment said, we should probably update it again from you hehe) i'll have a look at the other link you pasted as well |
@sandrotosi Is this still a problem for more recent version of Matplotlib? If not, can it be closed? |
yes tests are still failing (i just got right now an interpreter |
@sandrotosi this is a fairly stale bugthread, but I'll mention this anyway: I ran into a similar problem locally a few moments ago attempting a build of a |
Ok; the failure I encountered isn't an existing problem in Debian; it appears when I attempted to backport #27833 to v3.8.3 and build the package. It seems to relate to |
To try to track down the import matplotlib.pyplot as plt
plt.rcParams["text.usetex"] = True
figure = plt.figure()
figure.add_subplot(projection="polar")
figure.savefig("/dev/null", format="svg") I've tested that on Debian 11 ( The bug itself may be something to do with |
Sorry; I am mistaken about the root cause being related to either In fact the font selection of matplotlib/lib/matplotlib/texmanager.py Lines 74 to 76 in 396e8c7
The |
tl;dr for any future intrepid To fix this problem, you should either be able to:
OR
|
Hello,
i'm reporting here the errors produced by the test suite when running on debian amd64:
python 2.7.15:
python 2.7.15 debug flavor:
python 3.6.5
The text was updated successfully, but these errors were encountered: