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
One-off doctest failures in a fresh install because of matplotlib #20222
Comments
comment:1
Running tests inside a fresh docker container could be a good way to check for problems like this. |
comment:2
Still don't have automated builds of the sagemath-develop container running yet, but hope to have that sooner or later. |
comment:4
Can't we simply ignore these warnings? |
comment:5
Replying to @jdemeyer:
What's the standard way to ignore warnings in doctests, again? |
comment:6
I wonder if the initial sage startup shouldn't also take care of this. |
comment:7
Replying to @embray:
That's not really possible because the relevant matplotlib files are user files (inside |
comment:8
I think I see what you're saying--I'm so used at this point to running my own copy of sage that it's warped my viewpoint in ugly ways :) But isn't there some initial creation of user files in |
comment:9
Upstream issue: matplotlib/matplotlib#5836 |
New commits:
|
Author: Jeroen Demeyer |
Commit: |
comment:12
Huh, I thought this was already fixed. I haven't run into it in a while. |
Reviewer: Erik Bray |
comment:14
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:18
New version which imports matplotlib in a forked child process. |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Changed reviewer from Erik Bray to Erik Bray, Julian Rüth |
Changed branch from u/jdemeyer/one_off_doctest_failures_in_a_fresh_install to |
comment:22
I'm seeing these failures again in 8.3.beta1. |
Changed commit from |
comment:23
See #25375 for a followup ticket. |
When running Sage doctests for the very first time (with an empty
DOT_SAGE
directory):Of course, the failures go away when the tests are rerun. Any way we can avoid these failures?
CC: @jdemeyer @embray @nthiery
Component: build
Author: Jeroen Demeyer
Branch:
7169df8
Reviewer: Erik Bray, Julian Rüth
Issue created by migration from https://trac.sagemath.org/ticket/20222
The text was updated successfully, but these errors were encountered: