Skip to content
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

TST: matplotlib.checkdep_usetex is deprecated, what to do? #13326

Open
pllim opened this issue Jun 11, 2022 · 2 comments
Open

TST: matplotlib.checkdep_usetex is deprecated, what to do? #13326

pllim opened this issue Jun 11, 2022 · 2 comments

Comments

@pllim
Copy link
Member

pllim commented Jun 11, 2022

# We cannot use matplotlib.checkdep_usetex() anymore, see
# https://github.com/matplotlib/matplotlib/issues/23244
TEX_UNAVAILABLE = True

was

TEX_UNAVAILABLE = not matplotlib.checkdep_usetex(True)

But it has been deprecated by matplotlib, see matplotlib/matplotlib#23244 . We either have to "vendor the code" or find another way to detect this test case. For now, the test depending on this is completely disabled (#13322).

cc @Cadair and @astrofrog

@pllim pllim changed the title TST: matplotlib..checkdep_usetex is deprecated, what to do? TST: matplotlib.checkdep_usetex is deprecated, what to do? Jun 11, 2022
@pllim pllim mentioned this issue Jun 11, 2022
10 tasks
@oscargus
Copy link

As discussed in the Matplotlib issue, feel free to either copy the code or use the private method (and hope that it is not removed or changes functionality later, which seems unlikely but no guarantees).

@astrofrog
Copy link
Member

We should check what happens to the tests if tex is indeed unavailable and we don't skip them - is there an exception or warning we could check that meant that tex was not available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants