Skip to content
Snippets Groups Projects

community/py3-matplotlib: upgrade to 3.9.3

Merged omni requested to merge omni/aports:upgrade-matplotlib into master

@firefly-cpp you maintain community/py3-matplotlib-venn, are you interested in adopting this? and perhaps also community/py3-matplotlib-inline?

Edited by omni

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • omni marked this merge request as draft

    marked this merge request as draft

  • py3-corner currently has failed tests that may be related to py3-matplotlib and a freetype version mismatch (between one of the patches and the system version) (volatile error log). Hopefully this upgrade could resolve the error as well. Thanks for looking into this!

    Matplotlib is not built with the correct FreeType version to run tests. Rebuild without setting system-freetype=true in Meson setup options. Expect many image comparison failures below. Expected freetype version 2.13.1. Found freetype version 2.13.3. Freetype build type is not local.

    Edited by mio
  • Just ran an initial test locally. Adjusted 30-freetype_version_and_tolerances.patch to align the freetype version numbers and added a minor patch to set the freetype build type, which made the warning no longer appear when rebuilding py3-corner. Unfortunately the 2 tests there still failed. Reusing the older version of the mpl-data tarball for py3-matplotlib check resulted in three failed tests. It's possible that the results were due to my build environment (check in the previous version passed for me around the time the MR was opened).

    Also tested rebuild of another aport with this newer py3-matplotlib and it seems to be fine.

    Might try to unset using the system freetype and see if it makes any difference for py3-corner tests.

    FAILED test-env/lib/python3.12/site-packages/matplotlib/tests/test_backends_interactive.py::test_webagg - subprocess.TimeoutExpired: Com
    mand '['/home/build/builds/py3-matplotlib/src/matplotlib-3.9.2/test-env/bin/python3', '-c', 'def _tes...
    FAILED test-env/lib/python3.12/site-packages/matplotlib/tests/test_cbook.py::Test_callback_registry::test_callback_complete[True] - pyte
    st.PytestUnraisableExceptionWarning: Exception ignored in: <function Popen.__del__ at 0x7f3c792cdb20>
    FAILED test-env/lib/python3.12/site-packages/matplotlib/tests/test_font_manager.py::test_get_font_names - AssertionError: assert {'DejaV
    u Sans...ns Mono', ...} == {'DejaVu Sans...ns Mono', ...}
  • Thanks to both of you for working on this. @omni, I may be unable to maintain matplotlib due to time constraints since maintaining matplotlib requires faster steps.

  • omni added 1 commit

    added 1 commit

    • 42fc8fd8 - community/py3-matplotlib: upgrade to 3.9.3

    Compare with previous version

  • omni changed the description

    changed the description

  • omni added 1 commit

    added 1 commit

    • 19cc45ce - community/py3-matplotlib: upgrade to 3.9.3

    Compare with previous version

  • omni marked this merge request as ready

    marked this merge request as ready

    • Author Developer
      Resolved by omni

      that's ok. but what do you both think of it now, then? I mean, it built and passed tests

      Edited by omni
  • Author Developer

    oh, py3-corner was removed b6579bac

  • omni marked this merge request as draft

    marked this merge request as draft

  • omni added 1234 commits

    added 1234 commits

    Compare with previous version

  • omni added 1 commit

    added 1 commit

    • 016e6987 - community/py3-corner: restore

    Compare with previous version

  • omni marked this merge request as ready

    marked this merge request as ready

  • Author Developer

    let's handle that separately

  • omni changed title from community/py3-matplotlib: upgrade to 3.9.2 to community/py3-matplotlib: upgrade to 3.9.3

    changed title from community/py3-matplotlib: upgrade to 3.9.2 to community/py3-matplotlib: upgrade to 3.9.3

  • omni marked this merge request as draft

    marked this merge request as draft

  • omni added 1 commit

    added 1 commit

    • ed107444 - community/py3-matplotlib-venn: try rebuild

    Compare with previous version

  • omni added 1 commit

    added 1 commit

    • 483b8b4e - community/py3-chaospy: try rebuild

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading