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

Update for matplotlib 3.9.0 #19

Merged
merged 4 commits into from
Jun 11, 2024
Merged

Update for matplotlib 3.9.0 #19

merged 4 commits into from
Jun 11, 2024

Conversation

dschwoerer
Copy link
Collaborator

Resolves: #18

@dschwoerer dschwoerer merged commit 36242c8 into main Jun 11, 2024
1 check passed
@dschwoerer dschwoerer deleted the mpl390 branch June 11, 2024 11:02
@@ -319,7 +319,8 @@ def test_Quiver(self):

@animation_compare(baseline_images="Blocks/Surface", nframes=3)
def test_Surface(self):
if mpl._version.version_tuple < (3, 9):
mpl_version = tuple([int(x) for x in mpl._version.version.split(".")[:3]])
Copy link

Choose a reason for hiding this comment

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

You may want to use packaging.version.parse as is used in other tests instead.

Copy link

Choose a reason for hiding this comment

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

For example, this is now breaking with 3.10.0rc1:

    @animation_compare(baseline_images="Blocks/Surface", nframes=3)
    def test_Surface(self):
>       mpl_version = tuple([int(x) for x in mpl._version.version.split(".")[:3]])
E       ValueError: invalid literal for int() with base 10: '0rc1'

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry for not fixing earlier:
844ab44
Do you want me to push the fix to fedora? Is rawhide sufficient?

Copy link

Choose a reason for hiding this comment

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

This test is the only failing one, so I suspect it will be fine:
https://copr.fedorainfracloud.org/coprs/qulogic/matplotlib-310/build/8245763/
But a build in Rawhide would be handy to check, or I could build the patch in this COPR.

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.

Test failure with Matplotlib 3.9.0rc2
2 participants