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
In this case, the failing time-based test (test_iers_b_out_of_range_handling) is holding up the testing and release of the critical brotli security vulnerability CVE-2026-111497.
It would be nice if tests could be written such that they do not fail after a certain amount of time, so software stays reproducible.
My main point though is to question whether it's actually a good idea to have time bomb tests at all. It seems to run fundamentally against the idea of reproducibility, which is a good thing for distributions and upstreams alike.
E.g. for a given table, wouldn't it be more sensible to check that it does its job for the range it covers, instead of making a test that checks if it works today?
Activity
python3Packages.astropy: disable build-date-dependent irreproducible …
python3Packages.astropy: disable build-date-dependent irreproducible …
pllim commentedon Oct 27, 2026
Can't you just skip it in your distro? I think @olebole skip some tests for Debian.
olebole commentedon Oct 27, 2026
Yes, this is true. We use this patch to disable tests that may fail in the future.
This however affects all distributions, so it may be however a good idea to flag these tests upstream for a pytest filter.
nh2 commentedon Oct 27, 2026
Yes, that's what the PR I linked does.
My main point though is to question whether it's actually a good idea to have time bomb tests at all. It seems to run fundamentally against the idea of reproducibility, which is a good thing for distributions and upstreams alike.
E.g. for a given table, wouldn't it be more sensible to check that it does its job for the range it covers, instead of making a test that checks if it works today?
pllim commentedon Oct 27, 2026
Hmm... I guess we could add some env var you can use for skipping. There is precedent here:
astropy/astropy/tests/helper.py
Lines 28 to 29 in 47567cd
Ideas welcome.
pllim commentedon Oct 27, 2026
I'll defer to wisdom of @mhvk for this one.