[Debian-astro-maintainers] Bug#1091847: bookworm-pu: package sunpy/4.1.2-1+deb12u1

Santiago Vila sanvila at debian.org
Wed Jan 1 11:26:34 GMT 2025


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

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

(This is also a time-bomb-type bug, like ndcube).

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

[ Tests ]
The update package builds ok again.

[ Risks ]
Very low: We are only making some warnings not to be fatal,
as the program is otherwise ok.

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.
- The attached debdiff is probably good enough, but the final version may
differ in minor details like debian/gitlab-ci.yml.
-------------- next part --------------
diff -Nru sunpy-4.1.2/debian/changelog sunpy-4.1.2/debian/changelog
--- sunpy-4.1.2/debian/changelog	2023-01-29 14:04:43.000000000 +0100
+++ sunpy-4.1.2/debian/changelog	2025-01-01 11:55:00.000000000 +0100
@@ -1,3 +1,11 @@
+sunpy (4.1.2-1+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  [ Ole Streicher ]
+  * Ignore Astropy warnings (Closes: #1055892)
+
+ -- Santiago Vila <sanvila at debian.org>  Wed, 01 Jan 2025 11:55:00 +0100
+
 sunpy (4.1.2-1) unstable; urgency=medium
 
   * New upstream version 4.1.2
diff -Nru sunpy-4.1.2/debian/patches/Ignore-Astropy-warnings.patch sunpy-4.1.2/debian/patches/Ignore-Astropy-warnings.patch
--- sunpy-4.1.2/debian/patches/Ignore-Astropy-warnings.patch	1970-01-01 01:00:00.000000000 +0100
+++ sunpy-4.1.2/debian/patches/Ignore-Astropy-warnings.patch	2025-01-01 11:54:40.000000000 +0100
@@ -0,0 +1,19 @@
+From: Ole Streicher <olebole at debian.org>
+Date: Sat, 3 Feb 2024 17:00:04 +0100
+Subject: Ignore Astropy warnings
+
+These warnings are mainly created on outdated IERS data, which can be
+ignored on packages in stable.
+
+Closes: #1055892
+
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -148,6 +148,7 @@
+ filterwarnings = 
+ 	error
+ 	ignore::DeprecationWarning
++	ignore::astropy.utils.exceptions.AstropyWarning
+ 	ignore:Setuptools is replacing distutils:UserWarning
+ 	always::pytest.PytestConfigWarning
+ 	ignore:The sunpy.database module is no longer actively maintained
diff -Nru sunpy-4.1.2/debian/patches/series sunpy-4.1.2/debian/patches/series
--- sunpy-4.1.2/debian/patches/series	2023-01-29 14:03:53.000000000 +0100
+++ sunpy-4.1.2/debian/patches/series	2025-01-01 11:54:40.000000000 +0100
@@ -6,3 +6,4 @@
 Add-yaml-schema-files-to-package.patch
 Ignore-all-deprecation-warnings.patch
 Ignore-all-divide-by-zero-and-all-nan-warnings.patch
+Ignore-Astropy-warnings.patch


More information about the Debian-astro-maintainers mailing list