[Debian-astro-maintainers] Bug#1091845: bookworm-pu: package ndcube/2.0.3-1+deb12u1

Santiago Vila sanvila at debian.org
Wed Jan 1 11:16:35 GMT 2025


Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org at packages.debian.org
Usertags: pu
X-Debbugs-Cc: ndcube at packages.debian.org, sanvila at debian.org
Control: affects -1 + src:ndcube

[ Reason ]
Fix FTBFS bug #1055877 (tests fails because they want updated
data which is not available in bookworm).

(This is a "time bomb" bug, to some extent)

[ Impact ]
The package currently fails to build for everybody.

[ Tests ]
The updated package does not fail to build anymore.

[ Risks ]
Very low: We are only disabling some tests that we know they
fail, but not because the program itself is wrong.

This is also standard for other astronomy 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 (old)stable
   [X] the issue is verified as fixed in unstable

[ Changes ]
Ignore astropy warnings (as they become errors).
This is just a cherry-pick of a change that already happened in unstable.

[ Other info ]
Will wait for confirmation before upload and commit to salsa.
-------------- next part --------------
diff -Nru ndcube-2.0.3/debian/changelog ndcube-2.0.3/debian/changelog
--- ndcube-2.0.3/debian/changelog	2023-02-08 09:36:54.000000000 +0100
+++ ndcube-2.0.3/debian/changelog	2025-01-01 11:45:00.000000000 +0100
@@ -1,3 +1,11 @@
+ndcube (2.0.3-1+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  [ Ole Streicher ]
+  * Ignore all Astropy warnings (Closes: #1055877)
+
+ -- Santiago Vila <sanvila at debian.org>  Wed, 01 Jan 2025 11:45:00 +0100
+
 ndcube (2.0.3-1) unstable; urgency=medium
 
   * Team upload
diff -Nru ndcube-2.0.3/debian/patches/Ignore-all-Astropy-warnings.patch ndcube-2.0.3/debian/patches/Ignore-all-Astropy-warnings.patch
--- ndcube-2.0.3/debian/patches/Ignore-all-Astropy-warnings.patch	1970-01-01 01:00:00.000000000 +0100
+++ ndcube-2.0.3/debian/patches/Ignore-all-Astropy-warnings.patch	2025-01-01 11:45:00.000000000 +0100
@@ -0,0 +1,21 @@
+From: Ole Streicher <olebole at debian.org>
+Date: Sat, 3 Feb 2024 17:16:57 +0100
+Subject: Ignore all Astropy warnings
+
+This covers the warning about outdated IERS data when testing the stable version.
+
+Closes: #1055877
+---
+ setup.cfg | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -74,6 +74,7 @@
+ 	error
+ 	always::pytest.PytestConfigWarning
+ 	ignore::DeprecationWarning
++	ignore::astropy.utils.exceptions.AstropyWarning
+ 	ignore::astropy.utils.exceptions.AstropyDeprecationWarning
+ 	ignore::FutureWarning
+ 	ignore:numpy.ufunc size changed:RuntimeWarning
diff -Nru ndcube-2.0.3/debian/patches/series ndcube-2.0.3/debian/patches/series
--- ndcube-2.0.3/debian/patches/series	2023-02-08 09:36:54.000000000 +0100
+++ ndcube-2.0.3/debian/patches/series	2025-01-01 11:45:00.000000000 +0100
@@ -1,3 +1,4 @@
 ignore_sphinx_changelog.patch
 Ignore-Deprecations-warnings.patch
 Fix-compatibility-with-reproject-0.10.patch
+Ignore-all-Astropy-warnings.patch


More information about the Debian-astro-maintainers mailing list