You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: test suite fails against glib 2.88.0 #31398
matplotlib in turn changes all warnings to errors in pytest_configure:
def pytest_configure(config):
# config is initialized here rather than in pytest.ini so that `pytest
# --pyargs matplotlib` (which would not find pytest.ini) works. The only
# entries in pytest.ini set minversion (which is checked earlier),
# testpaths/python_files, as they are required to properly find the tests
for key, value in [
…
("filterwarnings", "error"),
Might be right to ignore gi's internal deprecation warnings here
AFAICS, we do not use unix_signal_add_full directly, so the fix needs to be upstream.
On the plus side, it's only a warning for now, so does not break user code. We still need to take action to unbreak our tests. The right thing to do is filter the warning inside test_save_figure_return.
Activity
DimStar77 commentedon Mar 27, 2026
The issue is self-made inside pygobject/GLib introduced in
https://gitlab.gnome.org/GNOME/pygobject/-/commit/74e4e0f40a66436a55c72d4a6e6058c1f91a7310
matplotlib in turn changes all warnings to errors in pytest_configure:
Might be right to ignore gi's internal deprecation warnings here
timhoffm commentedon Mar 27, 2026
Thanks for the report!
AFAICS, we do not use
unix_signal_add_fulldirectly, so the fix needs to be upstream.On the plus side, it's only a warning for now, so does not break user code. We still need to take action to unbreak our tests. The right thing to do is filter the warning inside
test_save_figure_return.QuLogic commentedon Mar 30, 2026
Did you report something upstream?
QuLogic commentedon Apr 28, 2026
I reported it upstream https://gitlab.gnome.org/GNOME/pygobject/-/work_items/757
QuLogic commentedon May 19, 2026
And also fixed it upstream https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/545
Either ask upstream for a new release or backport the patch.