Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: oleb...@debian.org
Please unblock package astropy
[ Reason ]
The upload fixes the RC bug #991654.
[ Impact ]
Astropy is a base astronomy package and a dependency of a big part of the
debian-astro ecosystem.
[ Tests ]
The code is (almost) completely covered by automated build time and debci
tests.
[ Risks ]
The change disables the conversion of a warning into an error during the
test.
There is no known risk for other packages.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock astropy/4.2-6
diff -Nru astropy-4.2/debian/changelog astropy-4.2/debian/changelog
--- astropy-4.2/debian/changelog 2021-02-12 11:05:34.000000000 +0100
+++ astropy-4.2/debian/changelog 2021-07-29 18:12:43.000000000 +0200
@@ -1,3 +1,9 @@
+astropy (4.2-6) unstable; urgency=medium
+
+ * Ignore IERSStaleWarning in pytest (Closes: #991654)
+
+ -- Ole Streicher <oleb...@debian.org> Thu, 29 Jul 2021 18:12:43 +0200
+
astropy (4.2-5) unstable; urgency=medium
* Fix leap second update when using a non english locale
diff -Nru astropy-4.2/debian/patches/Updated-tests-to-WCSLIB-7.4.patch
astropy-4.2/debian/patches/Updated-tests-to-WCSLIB-7.4.patch
--- astropy-4.2/debian/patches/Updated-tests-to-WCSLIB-7.4.patch
2021-02-12 11:05:29.000000000 +0100
+++ astropy-4.2/debian/patches/Updated-tests-to-WCSLIB-7.4.patch
2021-07-29 18:12:43.000000000 +0200
@@ -220,13 +220,13 @@
for kw in keys_to_remove:
if kw in header:
diff --git a/setup.cfg b/setup.cfg
-index b22d12d..c499c0a 100644
+index 76a186e..7de7eb4 100644
--- a/setup.cfg
+++ b/setup.cfg
-@@ -134,6 +134,7 @@ filterwarnings =
- ignore:The toolz.compatibility module is no longer
needed:DeprecationWarning
+@@ -135,6 +135,7 @@ filterwarnings =
ignore:parallel reading does not currently work, so falling back to
serial
ignore::DeprecationWarning
+ ignore::astropy.utils.iers.iers.IERSStaleWarning
+ ignore:'datfix' made the change:astropy.wcs.wcs.FITSFixedWarning
doctest_norecursedirs =
*/setup_package.py
diff -Nru
astropy-4.2/debian/patches/Weaken-leap-second-validity-requirement-for-tests.patch
astropy-4.2/debian/patches/Weaken-leap-second-validity-requirement-for-tests.patch
---
astropy-4.2/debian/patches/Weaken-leap-second-validity-requirement-for-tests.patch
2021-02-12 11:05:29.000000000 +0100
+++
astropy-4.2/debian/patches/Weaken-leap-second-validity-requirement-for-tests.patch
2021-07-29 18:12:43.000000000 +0200
@@ -4,7 +4,8 @@
---
astropy/utils/iers/tests/test_leap_second.py | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
+ setup.cfg | 1 +
+ 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/astropy/utils/iers/tests/test_leap_second.py
b/astropy/utils/iers/tests/test_leap_second.py
index ce19225..b2c9624 100644
@@ -22,3 +23,15 @@
self._auto_open_files = iers.LeapSeconds._auto_open_files.copy()
def teardown(self):
+diff --git a/setup.cfg b/setup.cfg
+index b22d12d..76a186e 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -134,6 +134,7 @@ filterwarnings =
+ ignore:The toolz.compatibility module is no longer
needed:DeprecationWarning
+ ignore:parallel reading does not currently work, so falling back to
serial
+ ignore::DeprecationWarning
++ ignore::astropy.utils.iers.iers.IERSStaleWarning
+ doctest_norecursedirs =
+ */setup_package.py
+ doctest_subpackage_requires =