8000 [TST] Upcoming dependency test failures · Issue #24060 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
8000

[TST] Upcoming dependency test failures #24060

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

Closed
github-actions bot opened this issue Oct 1, 2022 · 3 comments · Fixed by #24266
Closed

[TST] Upcoming dependency test failures #24060

github-actions bot opened this issue Oct 1, 2022 · 3 comments · Fixed by #24266
Milestone

Comments

@github-actions
Copy link
github-actions bot commented Oct 1, 2022

The weekly build with nightly wheels from numpy and pandas
has failed. Check the logs for any updates that need to be
made in matplotlib.
https://github.com/matplotlib/matplotlib/actions/runs/3163174215

@tacaswell
Copy link
Member

This does look real:

>       assert cb.ax.get_ylim() == (1e-4, 1e6)
190
E       assert (9.9999999999...05, 1000000.0) == (0.0001, 1000000.0)
191
E         At index 0 diff: 9.999999999999999e-05 != 0.0001
192
E         Full diff:
193
E         - (0.0001, 1000000.0)
194
E         + (9.999999999999999e-05, 1000000.0)

@timhoffm
Copy link
Member
timhoffm commented Oct 6, 2022

Is this something we should investigate for 3.6.1? The change becomes user-facing in existing versions of matplotlib when a new version of the responsible dependency gets released. If we need to fix this on our side, it is desirable to have a fixed version already out there to minimize user-impact.

@jklymak jklymak added this to the v3.6.2 milestone Oct 6, 2022
@jklymak
Copy link
Member
jklymak commented Oct 6, 2022

Add some floating point tolerances to these tests so they don't fail is probably OK.

jklymak pushed a commit that referenced this issue Oct 25, 2022
This is similar to #22132 in that NumPy has added more code paths that
now take advantage of AVX512 optimizations and causes slight variations
in results.

Fixes #24060
melissawm pushed a commit to melissawm/matplotlib that referenced this issue Dec 19, 2022
This is similar to matplotlib#22132 in that NumPy has added more code paths that
now take advantage of AVX512 optimizations and causes slight variations
in results.

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

Successfully merging a pull request may close this issue.

3 participants
0