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

2024-06-15 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + confirmed
Bug #1069295 [release.debian.org] bookworm-pu: package 
python-asdf/2.14.3-1+deb12u1
Added tag(s) confirmed.

-- 
1069295: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069295
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2024-06-15 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Fri, 2024-04-19 at 15:41 +0200, Andreas Beckmann wrote:
> 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.

Please go ahead.

Regards,

Adam



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

2024-04-19 Thread Andreas Beckmann
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Ole Streicher 
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   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.0 +0100
+++ python-asdf-2.14.3/debian/changelog 2024-04-19 14:06:08.0 +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   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.0 +0100
+++ 
python-asdf-2.14.3/debian/patches/Remove-asdf-unit-schemas-as-a-dependency.patch
2024-04-19 14:06:08.0 +0200
@@ -0,0 +1,22 @@
+From: Ole Streicher 
+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/series2022-12-20 11:26:17.0 
+0100
+++ python-asdf-2.14.3/debian/patches/series2024-04-19 14:06:08.0 
+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