Skip to content

Expand 3D import to handle any exception not just ImportError #27291

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

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

ksunden
Copy link
Member

@ksunden ksunden commented Nov 8, 2023

Needed for the same reasons as #27178 (Namely that we should not be failing on import just because mpl_toolkits is broken), but mpl 3.6 presents with an AttributeError rather than ImportError

See discussion in #26827 and #27289

Just expanded liberally in case there are other presentations we have not seen

PR summary

PR checklist

Needed for the same reasons as matplotlib#27178 (Namely that we should not be failing on import just because mpl_toolkits is broken), but mpl 3.6 presents with an AttributeError rather than ImportError

See discussion in matplotlib#26827 and matplotlib#27289

Just expanded liberally in case there are other presentations we have not seen
@ksunden ksunden force-pushed the mpl_toolkits_old_v2 branch from 24a40b5 to cde6baf Compare November 8, 2023 23:27
@tacaswell tacaswell added this to the v3.8.2 milestone Nov 9, 2023
@tacaswell
Copy link
Member

To be clear the mpl3.6 here is the version that is being shadowed.

@oscargus oscargus merged commit 3ffd6cc into matplotlib:main Nov 9, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 9, 2023
tacaswell added a commit that referenced this pull request Nov 9, 2023
…291-on-v3.8.x

Backport PR #27291 on branch v3.8.x (Expand 3D import to handle any exception not just ImportError)
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 this pull request may close these issues.

3 participants