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

TYP: fix type-checking incompatibilities with matplotlib 3.8 #4629

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Aug 11, 2023

this is a test-only PR, not meant to be merged.
In particular, test newly supported type-checking for Python >= 3.9

edit: this has now survived type-checking with matplotlib 3.8.0rc1, so I rewrote the branch history to preserve dependencies and fix newly discovered type-checking incompatibilities instead.

@neutrinoceros neutrinoceros added tests: running tests Issues with the test setup do not merge this change should not be merged until later dependencies Pull requests that update a dependency file labels Aug 11, 2023
@neutrinoceros
Copy link
Member Author

No problems at runtime (hurray), but lots of errors at type-check time. I think most of them may be noise, to be reported upstream, but I can try to fix the rest of them first.

@neutrinoceros neutrinoceros force-pushed the test_mpl_3.8 branch 5 times, most recently from 5935277 to 715f441 Compare August 11, 2023 21:33
@neutrinoceros
Copy link
Member Author

Actually everything seems to be fixable on our end, and I think I'm almost there

@neutrinoceros neutrinoceros force-pushed the test_mpl_3.8 branch 2 times, most recently from 5437c37 to 82e66a1 Compare August 11, 2023 22:06
@neutrinoceros neutrinoceros changed the title TST: test with matplotlib 3.8 release candidate TYP: fix type-checking incompatibilities with matplotlib 3.8 Aug 11, 2023
@neutrinoceros neutrinoceros added enhancement Making something better and removed do not merge this change should not be merged until later dependencies Pull requests that update a dependency file tests: running tests Issues with the test setup labels Aug 11, 2023
@neutrinoceros neutrinoceros marked this pull request as ready for review August 11, 2023 22:32
@neutrinoceros neutrinoceros added this to the 4.3.0 milestone Aug 19, 2023
Copy link
Contributor

@chrishavlin chrishavlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neutrinoceros
Copy link
Member Author

It's not extremely urgent yet but I would like merging this before matplotlib 3.8.0 is actually released to smooth out the transition. May I ?

@chrishavlin
Copy link
Contributor

Ok by me, seems small enough. But I'm also the only approval so i feel like it'd be good to get an additional OK from someone else :)

@neutrinoceros
Copy link
Member Author

Ok I'll leave it up for now, but will probably merge it if matplotlib 3.8 comes up first :)

@jzuhone jzuhone merged commit db6862e into yt-project:main Aug 24, 2023
12 checks passed
@neutrinoceros neutrinoceros deleted the test_mpl_3.8 branch August 24, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making something better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants