From baea2468a4cd3b418dd95c6b1aad7eceb0be4600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Wed, 8 Jan 2025 23:13:03 -0800 Subject: [PATCH] MAINT: ignoring IERS warnings for now to pass tests on old python where there are no more updates --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index a31efda2..f51901a8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,10 @@ filterwarnings = # Numpy 2.0 deprecations triggered by upstream libraries. # Exact warning messages differ, thus using a super generic filter. ignore:numpy.core:DeprecationWarning +# Added for python 3.8, cleanup once old python version support is removed +# (adding it to conftest is ineffective as the PrototypeWarning line above already +# triggers this warning at the time of collection + ignore::astropy.utils.iers.iers.IERSStaleWarning # We need to ignore this module level warning to not cause issues at collection time. # Remove it once warning is removed from code (in 1.7). ignore:pyvo.discover:pyvo.utils.prototype.PrototypeWarning