[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1069295: bookworm-pu: package python-asdf/2.14.3-1+deb12u1



Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Ole Streicher <olebole@debian.org>
Control: block 1054581 with -1
Control: affects -1 + src:python-asdf

[ Reason ]
python3-asdf has an internal dependency on asdf-unit-schemas which is
neither mapped to a package dependency nor does it exist in the archive.
This internal dependency (which only exists for backward compatibility
but is not required) has been patched out in sid, let's backport this.

[ Impact ]
Some usage paths of python3-asdf are failing because of unsatisfied
requirements.

[ Tests ]
python3 -c 'import pkg_resources; pkg_resources.require("asdf")'
does no longer fail with the updated package.

[ Risks ]
Low. Removes unneeded requirements.

[ Checklist ]
  [*] *all* changes are documented in the d/changelog
  [*] I reviewed all changes and I approve them
  [*] attach debdiff against the package in (old)stable
  [*] the issue is verified as fixed in unstable

[ Changes ]
+python-asdf (2.14.3-1+deb12u1) bookworm; urgency=medium
+
+  [ Andreas Beckmann ]
+  * Non-maintainer upload.
+  * Backport dependency fix from 3.0.0-2.
+
+  [ Ole Streicher ]
+  * Remove asdf-unit-schemas as a dependency (Closes: #1054581)
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 19 Apr 2024 14:06:08 +0200

[ Other info ]
n/a

Andreas
diff -Nru python-asdf-2.14.3/debian/changelog python-asdf-2.14.3/debian/changelog
--- python-asdf-2.14.3/debian/changelog	2022-12-20 11:26:17.000000000 +0100
+++ python-asdf-2.14.3/debian/changelog	2024-04-19 14:06:08.000000000 +0200
@@ -1,3 +1,14 @@
+python-asdf (2.14.3-1+deb12u1) bookworm; urgency=medium
+
+  [ Andreas Beckmann ]
+  * Non-maintainer upload.
+  * Backport dependency fix from 3.0.0-2.
+
+  [ Ole Streicher ]
+  * Remove asdf-unit-schemas as a dependency (Closes: #1054581)
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 19 Apr 2024 14:06:08 +0200
+
 python-asdf (2.14.3-1) unstable; urgency=medium
 
   * New upstream version 2.14.3
diff -Nru python-asdf-2.14.3/debian/patches/Remove-asdf-unit-schemas-as-a-dependency.patch python-asdf-2.14.3/debian/patches/Remove-asdf-unit-schemas-as-a-dependency.patch
--- python-asdf-2.14.3/debian/patches/Remove-asdf-unit-schemas-as-a-dependency.patch	1970-01-01 01:00:00.000000000 +0100
+++ python-asdf-2.14.3/debian/patches/Remove-asdf-unit-schemas-as-a-dependency.patch	2024-04-19 14:06:08.000000000 +0200
@@ -0,0 +1,22 @@
+From: Ole Streicher <olebole@debian.org>
+Date: Fri, 27 Oct 2023 09:12:53 +0200
+Subject: Remove asdf-unit-schemas as a dependency
+
+This dependency was only added for backward compatibility and is no
+strict requirement.
+
+Closes: #1054581
+---
+ pyproject.toml | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -18,7 +18,6 @@ classifiers = [
+ dependencies = [
+     'asdf-standard >=1.0.1',
+     'asdf-transform-schemas >=0.3.0',
+-    'asdf-unit-schemas >= 0.1.0',
+     'importlib_resources >=3; python_version <"3.9"',
+     'importlib-metadata >=4.11.4',
+     'jmespath >=0.6.2',
diff -Nru python-asdf-2.14.3/debian/patches/series python-asdf-2.14.3/debian/patches/series
--- python-asdf-2.14.3/debian/patches/series	2022-12-20 11:26:17.000000000 +0100
+++ python-asdf-2.14.3/debian/patches/series	2024-04-19 14:06:08.000000000 +0200
@@ -6,3 +6,4 @@
 Disable-fetching-of-latest-patch-in-test.patch
 Remove-dependency-on-sphinx-asdf.patch
 Ignore-Astropy-deprecation-warnings-in-tests.patch
+Remove-asdf-unit-schemas-as-a-dependency.patch

Reply to: