Title: Downstream issues with 3.11.0rc1 · Issue #31589 · matplotlib/matplotlib · GitHub
Open Graph Title: Downstream issues with 3.11.0rc1 · Issue #31589 · matplotlib/matplotlib
X Title: Downstream issues with 3.11.0rc1 · Issue #31589 · matplotlib/matplotlib
Description: I've run a rebuild with everything downstream in Fedora. Of the 117 packages, there are 17 failures, 7 of which are pre-existing. I've been through the logs and determined the following: Existing failures moose Failing in build before ge...
Open Graph Description: I've run a rebuild with everything downstream in Fedora. Of the 117 packages, there are 17 failures, 7 of which are pre-existing. I've been through the logs and determined the following: Existing f...
X Description: I've run a rebuild with everything downstream in Fedora. Of the 117 packages, there are 17 failures, 7 of which are pre-existing. I've been through the logs and determined the following: Ex...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31589
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Downstream issues with 3.11.0rc1","articleBody":"I've run a [rebuild with everything downstream in Fedora](https://copr.fedorainfracloud.org/coprs/qulogic/matplotlib311/packages/). Of the 117 packages, there are 17 failures, 7 of which are pre-existing. I've been through the logs and determined the following:\n\nExisting failures\n=================\n\nmoose\n-----\n\nFailing in build before getting to any tests, so unknown consequences.\n\npygrib\n------\n\nFailing 3 tests with some tolerance with no change to RMS in new build\n\n\u003cdetails\u003e\n\n```\n_________________________________ test_lambert _________________________________\nError: Image files did not match.\n RMS Value: 37.44671188836211\n Expected: \n /tmp/tmpqb2v6_vv/test_lambert.test_lambert/baseline.png\n Actual: \n /tmp/tmpqb2v6_vv/test_lambert.test_lambert/result.png\n Difference:\n /tmp/tmpqb2v6_vv/test_lambert.test_lambert/result-failed-diff.png\n Tolerance: \n 20\n_______________________________ test_rotated_ll ________________________________\nError: Image files did not match.\n RMS Value: 24.190282814363474\n Expected: \n /tmp/tmpqb2v6_vv/test_rotated_ll.test_rotated_ll/baseline.png\n Actual: \n /tmp/tmpqb2v6_vv/test_rotated_ll.test_rotated_ll/result.png\n Difference:\n /tmp/tmpqb2v6_vv/test_rotated_ll.test_rotated_ll/result-failed-diff.png\n Tolerance: \n 20\n_________________________________ test_stere1 __________________________________\nError: Image files did not match.\n RMS Value: 28.193706953956152\n Expected: \n /tmp/tmpqb2v6_vv/test_stere.test_stere1/baseline.png\n Actual: \n /tmp/tmpqb2v6_vv/test_stere.test_stere1/result.png\n Difference:\n /tmp/tmpqb2v6_vv/test_stere.test_stere1/result-failed-diff.png\n Tolerance: \n 20\n```\n\u003c/details\u003e\n\nSubmitted a bug report: https://bugzilla.redhat.com/show_bug.cgi?id=2463977\n\npython-cartopy\n--------------\n\nMany failures with latest Proj, but Matplotlib issues known upstream already: https://github.com/SciTools/cartopy/issues/2666\n\npython-mplcairo\n---------------\n\nFailing due to GhostScript change and 3.14 mock change; should be fixed in `python-matplotlib` instead.\n\npython-opytimizer\n-----------------\n\nOrphaned, so not going to investigate further.\n\npython-pandas\n-------------\n\n5 existing failures due to warning changes. Build with 3.11.0rc1 is failing 207 tests, and all of them seem to be deprecation of the `locs` attribute.\n\nUnfortunately, the Fedora package is outdated as Pandas is at v3, so not sure that's been fixed upstream yet.\n\npython-SALib\n------------\n\n8 failures due to some NumPy changes. No new failures with 3.11.0rc1.\n\n\nNew Failures\n============\n\nmyst-nb\n-------\n\n6 test failures; unclear if these are acceptable as they are some kind of image\nfile hash.\n\nReported upstream: https://github.com/executablebooks/MyST-NB/issues/715\n\npython-animatplot\n-----------------\n\n2 test failures that seem pretty minor.\n\nReported upstream: https://github.com/boutproject/animatplot-ng/issues/31\n\npython-ase\n----------\n\nOne test failure:\n\n\u003cdetails\u003e\n\n```\n=================================== FAILURES ===================================\n___________________________ test_repeat_transpose_bz ___________________________\n\ntestdir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_repeat_transpose_bz0')\ndatadir = PosixPath('/builddir/build/BUILD/python-ase-3.25.0-build/ase-3.25.0/build/lib/ase/test/testdata')\n\n def test_repeat_transpose_bz(testdir, datadir) -\u003e None:\n \"\"\"Testing plot_bz.\"\"\"\n \n hex2d = HEX2D(a=1.0)\n r = Rotation.from_rotvec([0, 0, np.deg2rad(10)])\n fig, ax = plt.subplots()\n hex2d.plot_bz(repeat=(2, 1), transforms=[r], ax=ax)\n test_image = 'test_bz.png'\n ref_image = str(datadir / 'rotated_bz.png')\n fig.savefig(test_image)\n\u003e assert compare_images(test_image, ref_image, 0.5) is None\nE AssertionError: assert 'Error: Image files did not match.\\n RMS Value: 3.2818136090028194\\n Expected: \\n test_bz.png\\n Actual: \\n ...UILD/python-ase-3.25.0-build/ase-3.25.0/build/lib/ase/test/testdata/rotated_bz-failed-diff.png\\n Tolerance: \\n 0.5' is None\nE + where 'Error: Image files did not match.\\n RMS Value: 3.2818136090028194\\n Expected: \\n test_bz.png\\n Actual: \\n ...UILD/python-ase-3.25.0-build/ase-3.25.0/build/lib/ase/test/testdata/rotated_bz-failed-diff.png\\n Tolerance: \\n 0.5' = compare_images('test_bz.png', '/builddir/build/BUILD/python-ase-3.25.0-build/ase-3.25.0/build/lib/ase/test/testdata/rotated_bz.png', 0.5)\n```\n\u003c/details\u003e\n\nThis package is about a year out of date though, so unsure if it's still relevant.\n\npython-distributed\n------------------\n\nRandom timeout; seems unrelated.\n\npython-fsleyes-widgets\n----------------------\n\nOne new failure:\n\n\u003cdetails\u003e\n\n```\n_______________________________ test_textbitmap ________________________________\n\n def test_textbitmap():\n \n texts = ['R', 'Label']\n fontsizes = [6, 10, 16]\n bgColours = [(0, 0, 0, 0), (0, 0, 0, 1), (1, 0, 0, 1)]\n fgColours = [(0, 0, 0, 1), (1, 0, 0, 1), (1, 1, 1, 1)]\n alphas = [0.5, 1.0]\n haligns = ['left', 'right', 'centre']\n \n testcases = it.product(texts, fontsizes, bgColours, fgColours, alphas, haligns)\n \n for text, size, bg, fg, alpha, halign in testcases:\n \n if bg == fg:\n continue\n \n bmp = textbmp.textBitmap(text, 75, 50, size, fg, bg, alpha, halign=halign)\n \n fname = [text, size] + list(bg) + list(fg) + [alpha] + [halign]\n fname = '{}.png'.format('_'.join(map(str, fname)))\n fname = op.join(datadir, fname)\n \n benchmark = mplimg.imread(fname) * 255\n\u003e assert compare_images(bmp, benchmark, 0.1)[0]\nE assert np.False_\n\nfsleyes_widgets/tests/test_textbitmap.py:43: AssertionError\n```\n\u003c/details\u003e\n\npython-iplotx\n-------------\n\n\u003cdetails\u003e\n\n3 test failures from using internals:\n\n```\nE AttributeError: module 'matplotlib.cm' has no attribute '_ensure_cmap'\n```\n2 test failures from 3D changes:\n```\nE AttributeError: 'Vertex3DCollection' object has no attribute '_depthshade_minalpha'\n```\nand 1 image comparison failure:\n```\n______________________________ test_simple_graph _______________________________\n\nargs = (), kwds = {}\n\n @wraps(func)\n def inner(*args, **kwds):\n with self._recreate_cm():\n\u003e return func(*args, **kwds)\n ^^^^^^^^^^^^^^^^^^^\nE matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 7.608):\nE \tresult_images/test_networkx/simple_graph.png\nE \tresult_images/test_networkx/simple_graph-expected.png\nE \tresult_images/test_networkx/simple_graph-failed-diff.png\n```\n\u003c/details\u003e\n\nOpened an issue upstream: https://github.com/fabilab/iplotx/issues/26\n\npython-mapclassify\n------------------\n\nOne image failure:\n\n\u003cdetails\u003e\n\n```\n_________________ TestValueByAlphaChoropleth.test_legend[png] __________________\n\nargs = (\u003cmapclassify.tests.test_value_by_alpha.TestValueByAlphaChoropleth object at 0x7fd11db13650\u003e,)\nkwds = {'extension': 'png', 'request': \u003cFixtureRequest for \u003cFunction test_legend[png]\u003e\u003e}\n\n @wraps(func)\n def inner(*args, **kwds):\n with self._recreate_cm():\n\u003e return func(*args, **kwds)\n ^^^^^^^^^^^^^^^^^^^\nE matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 3.668):\nE \tresult_images/test_value_by_alpha/legend.png\nE \tresult_images/test_value_by_alpha/legend-expected.png\nE \tresult_images/test_value_by_alpha/legend-failed-diff.png\n\n/usr/lib64/python3.14/contextlib.py:85: ImageComparisonFailure\n```\n\u003c/details\u003e\n\nMentioned this in an upstream issue: https://github.com/pysal/mapclassify/issues/307#issuecomment-4349299803\n\npython-matplotlib-scalebar\n--------------------------\n\nOne test failure:\n\n\u003cdetails\u003e\n\n```\n__________________________________ test_info ___________________________________\n\n def test_info():\n fig = plt.figure()\n ax = fig.add_subplot(111)\n \n data = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])\n ax.imshow(data)\n \n scalebar = ScaleBar(0.5)\n ax.add_artist(scalebar)\n \n with pytest.raises(ValueError):\n scalebar.info\n \n plt.draw()\n \n info = scalebar.info\n assert info.length_px == pytest.approx(0.4, 1e-4)\n assert info.value == pytest.approx(2, 1e-4)\n assert info.units == \"dm\"\n assert info.scale_text == \"2 dm\"\n assert info.window_extent.x0 == pytest.approx(456.5755555555555, 1e-4)\n\u003e assert info.window_extent.y0 == pytest.approx(390.81511111111104, 1e-4)\nE assert np.float64(390.47852256944435) == 390.81511111111104 ± 0.0390815\nE \nE comparison failed\nE Obtained: 390.47852256944435\nE Expected: 390.81511111111104 ± 0.0390815\n\ntests/test_scalebar.py:395: AssertionError\n```\n\u003c/details\u003e\n\nReported upstream: https://github.com/ppinard/matplotlib-scalebar/issues/75\n\npython-pytest-mpl\n-----------------\n\nSome test failures, but this is an outdated version.\n\nReported upstream using their own CI results: https://github.com/matplotlib/pytest-mpl/issues/263\n\npython-seaborn\n--------------\n\n287 failures! But they all look similar. At least the use of `*Scale` appears to be buggy; fixing these reduces problems down to 5.\n- https://github.com/mwaskom/seaborn/pull/3934\n- https://github.com/mwaskom/seaborn/pull/3933\n- https://github.com/mwaskom/seaborn/pull/3935","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2026-04-30T07:16:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/31589/matplotlib/issues/31589"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd396ae7-da91-1e4f-d0d0-26561864767f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE02:94837:B16034:F02B3E:6A51EC76 |
| html-safe-nonce | 078b8ac96fa1bde1356532c065d5b33d36e858898b8199f24def3502406c1a09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTAyOjk0ODM3OkIxNjAzNDpGMDJCM0U6NkE1MUVDNzYiLCJ2aXNpdG9yX2lkIjoiMzE2NDk2NjAwNjQxMTA5NTE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ff12c6b13a5981ff99e48771365ec657298d92d8c433c5d8eb6d566a76bee3ed |
| hovercard-subject-tag | issue:4356116320 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/31589/issue_layout |
| twitter:image | https://opengraph.githubassets.com/625c33bb20df33d179c11fd16e0d3ba093e6bfc615658893781de8c3048db0df/matplotlib/matplotlib/issues/31589 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/625c33bb20df33d179c11fd16e0d3ba093e6bfc615658893781de8c3048db0df/matplotlib/matplotlib/issues/31589 |
| og:image:alt | I've run a rebuild with everything downstream in Fedora. Of the 117 packages, there are 17 failures, 7 of which are pre-existing. I've been through the logs and determined the following: Existing f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width