Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: spurious test failures #30703

Open
Open
@MeggyCal

Description

@MeggyCal

Bug summary

Hi, thank you for maintaining this amazing library! I am a packager in openSUSE. During the development process of openSUSE Tumbleweed we periodically rebuild the whole (future) distribution and we noticed some test failures which look... well, odd.

First, while trying to updategc to8.2.10,test_backend_svg.py::test_rasterized[svg] failed on image comparison. Sadly, I don't have that images.

Second, while trying to updatexkeyboard-config to2.46,test_getattr.py::test_getattr with anygtk3-related backend hangs and is killed after almost two hours for being idle.

It is puzzling for me (I don't see what the packages have in common with matplotlib), but the same result is produced after multiple rebuilds, so it isn't just random failure. Also seehttps://bugzilla.suse.com/show_bug.cgi?id=1252721. Could you please take a look into this issue?

A bit of a mystery... well, it is Halloween after all 🙂 .

Code for reproduction

runtests,oncewithgc8.2.10,forthesecondtimewithxkeyboard-config2.46

Actual outcome

gc:

[  447s] >           _raise_on_image_difference([  447s]                 ref_image_path, test_image_path, tol=tol[  447s]             )[  447s] E           matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 147.627):[  447s] E           result_images/test_backend_svg/test_rasterized[svg]_svg.png[  447s] E           result_images/test_backend_svg/test_rasterized[svg]-expected_svg.png[  447s] E           result_images/test_backend_svg/test_rasterized[svg]_svg-failed-diff.png[  447s] [  447s] /usr/lib64/python3.11/site-packages/matplotlib/testing/decorators.py:422: ImageComparisonFailure

xkeyboard-config:

[  547s] [gw3] [ 94%] PASSED test_getattr.py::test_getattr[matplotlib.backends.backend_cairo] <- ../../../../../../usr/lib64/python3.11/site-packages/matplotlib/tests/test_getattr.py [ 5957s] test_getattr.py::test_getattr[matplotlib.backends.backend_gtk3] <- ../../../../../../usr/lib64/python3.11/site-packages/matplotlib/tests/test_getattr.py qemu-kvm: terminating on signal 15 from pid 68319 ()

Expected outcome

tests should pass

Additional information

this has worked with earlier versions ofgc andxkeyboard-config

Operating system

openSUSE Tumbleweed

Matplotlib Version

3.10.7

Matplotlib Backend

differs, gtk3 version 3.24.51

Python version

3.11.14

Jupyter version

none

Installation

from source (.tar.gz)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp