FAILED lib/matplotlib/tests/test_backends_interactive.py::test_interactive_backend[toolbar2-MPLBACKEND=gtk4agg-BACKEND_DEPS=cairo,gi] - Failed: Subprocess failed to test intended behavior(process:20556): GLib-GIRepository-WARNING **: 20:02:19.767: Failed to load shared library 'libgobject-2.0.0.dylib' referenced by the typelib: dlopen(libgobject-2.0.0.dylib, 0x0009): tried: 'libgobject-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibgobject-2.0.0.dylib' (no such file), '/usr/lib/libgobject-2.0.0.dylib' (no such file, not in dyld cache), 'libgobject-2.0.0.dylib' (no such file)(process:20556): GLib-GIRepository-WARNING **: 20:02:19.767: Failed to load shared library 'libglib-2.0.0.dylib' referenced by the typelib: dlopen(libglib-2.0.0.dylib, 0x0009): tried: 'libglib-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibglib-2.0.0.dylib' (no such file), '/usr/lib/libglib-2.0.0.dylib' (no such file, not in dyld cache), 'libglib-2.0.0.dylib' (no such file)Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/tests/test_backends_interactive.py", line 198, in _test_interactive_impl fig, ax = plt.subplots() ^^^^^^^^^^^^^^ File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/pyplot.py", line 1856, in subplots fig = figure(**fig_kw) ^^^^^^^^^^^^^^^^ File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/pyplot.py", line 1088, in figure manager = new_figure_manager( ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/pyplot.py", line 569, in new_figure_manager _warn_if_gui_out_of_main_thread() File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/pyplot.py", line 546, in _warn_if_gui_out_of_main_thread canvas_class = cast(type[FigureCanvasBase], _get_backend_mod().FigureCanvas) ^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/pyplot.py", line 383, in _get_backend_mod switch_backend(rcParams._get("backend")) File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/pyplot.py", line 439, in switch_backend module = backend_registry.load_backend_module(newbackend) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/backends/registry.py", line 317, in load_backend_module return importlib.import_module(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/backends/backend_gtk4agg.py", line 4, in <module> from . import backend_agg, backend_gtk4 File "/Users/runner/work/matplotlib/matplotlib/lib/matplotlib/backends/backend_gtk4.py", line 32, in <module> from gi.repository import Gio, GLib, Gtk, Gdk, GdkPixbuf File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 676, in _load_unlocked File "<frozen importlib._bootstrap>", line 573, in module_from_spec File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gi/importer.py", line 144, in create_module importlib.import_module("gi.repository." + dep.split("-")[0]) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 676, in _load_unlocked File "<frozen importlib._bootstrap>", line 573, in module_from_spec File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gi/importer.py", line 145, in create_module return load_overrides(introspection_module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gi/overrides/__init__.py", line 128, in load_overrides override_mod = importlib.import_module(override_package_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gi/overrides/GLib.py", line 39, in <module> from gi import _option as option File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gi/_option.py", line 46, in <module> OPTION_CONTEXT_ERROR_QUARK = GLib.quark_to_string(GLib.option_error_quark()) ^^^^^^^^^^^^^^^^^^^^^^^^^gi._error.GError: gi-invoke-error-quark: Could not locate g_option_error_quark: dlopen(libglib-2.0.0.dylib, 0x0009): tried: 'libglib-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibglib-2.0.0.dylib' (no such file), '/usr/lib/libglib-2.0.0.dylib' (no such file, not in dyld cache), 'libglib-2.0.0.dylib' (no such file) (1)
These look real, I assume related to the recent changes in glib that we dealt with else where?
The VM is being dropped by GH [1] on macOS is no longer supported by homebrew or Apple.
This job is starting to fail on installing homebrew dependencies. Rather than try to fix this, move on to the next image which we need to do by the end of the CY anyway.
This means we no longer are testing on intel macs.
[1]https://github.blog/changelog/2025-07-11-upcoming-changes-to-macos-hosted-runners-macos-latest-migration-and-xcode-support-policy-updates/#macos-13-is-closing-down