1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Ole Streicher <olebole@debian.org>
Date: Wed, 26 Feb 2025 11:14:38 +0100
Subject: Ignore Astropy warnings for stale IERS
Closes: #1078641
---
setup.cfg | 3 +++
1 file changed, 3 insertions(+)
diff --git a/setup.cfg b/setup.cfg
index 6a55589..6cde733 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -17,6 +17,9 @@ filterwarnings =
# Numpy 2.0 deprecations triggered by upstream libraries.
# Exact warning messages differ, thus using a super generic filter.
ignore:numpy.core:DeprecationWarning
+# Ignore Warnings about outdated IERS that may appear in future
+ ignore::astropy.utils.iers.iers.IERSStaleWarning
+ ignore:.*IERSStaleWarning.*:astropy.utils.exceptions.AstropyWarning
# 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
|