Bug#990297: unblock: pyyaml/5.3.1-5
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: anbe@debian.org
Please unblock package pyyaml
pyyaml (5.3.1-5) unstable; urgency=medium
.
* Team upload.
.
[ Andreas Beckmann ]
* python3-yaml: Copy Breaks: python (<< 2.7.18), python-minimal (<< 2.7.18),
libpython-stdlib (<< 2.7.18) from python2.7 and add
Breaks: python-yaml (<< 5.3.1-2) for smoother upgrades from buster.
In some upgrade scenarios (mostly involving ros-* packages) these Breaks
in python2.7 were ineffective because the unversioned python packages got
higher scores. Copying the Breaks to python3-yaml which is the first
python package scoring higher than the to-be-removed packages solves these
issues. (Closes: #989930)
[ Reason ]
Improve upgrades from buster.
[ Impact ]
More manual package upgrades and cleanup required, without this patch.
[ Tests ]
From #989930:
> I've run a lot of upgrade tests and the results look very promising that
> we can improve the number of clean upgrade paths with this patch.
From my PoV, the change seems safe enough. Built and test-installed.
[ Risks ]
Dependency-only change.
[ 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 pyyaml/5.3.1-5
diff -Nru pyyaml-5.3.1/debian/changelog pyyaml-5.3.1/debian/changelog
--- pyyaml-5.3.1/debian/changelog 2021-05-21 11:11:00.000000000 -0400
+++ pyyaml-5.3.1/debian/changelog 2021-06-24 19:02:58.000000000 -0400
@@ -1,3 +1,19 @@
+pyyaml (5.3.1-5) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Andreas Beckmann ]
+ * python3-yaml: Copy Breaks: python (<< 2.7.18), python-minimal (<< 2.7.18),
+ libpython-stdlib (<< 2.7.18) from python2.7 and add
+ Breaks: python-yaml (<< 5.3.1-2) for smoother upgrades from buster.
+ In some upgrade scenarios (mostly involving ros-* packages) these Breaks
+ in python2.7 were ineffective because the unversioned python packages got
+ higher scores. Copying the Breaks to python3-yaml which is the first
+ python package scoring higher than the to-be-removed packages solves these
+ issues. (Closes: #989930)
+
+ -- Stefano Rivera <stefanor@debian.org> Thu, 24 Jun 2021 19:02:58 -0400
+
pyyaml (5.3.1-4) unstable; urgency=medium
* Team upload.
diff -Nru pyyaml-5.3.1/debian/control pyyaml-5.3.1/debian/control
--- pyyaml-5.3.1/debian/control 2021-05-21 11:11:00.000000000 -0400
+++ pyyaml-5.3.1/debian/control 2021-06-24 19:02:58.000000000 -0400
@@ -15,6 +15,11 @@
Architecture: any
Multi-Arch: allowed
Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Breaks:
+ python (<< 2.7.18),
+ python-minimal (<< 2.7.18),
+ libpython-stdlib (<< 2.7.18),
+ python-yaml (<< 5.3.1-2),
Description: YAML parser and emitter for Python3
Python3-yaml is a complete YAML 1.1 parser and emitter for Python3. It can
parse all examples from the specification. The parsing algorithm is simple
Reply to: