Your message dated Thu, 24 Jun 2021 23:18:48 +0000
with message-id <[email protected]>
and subject line Bug#989930: fixed in pyyaml 5.3.1-5
has caused the Debian Bug report #989930,
regarding python3-yaml: please add Breaks against python-yaml and unversioned
python from buster
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
989930: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989930
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-yaml
Version: 5.3.1-4
Severity: serious
Tags: patch
Hi,
I'm trying to solve some incomplete upgrades from buster to bullseye.
I.e. apt tries to keep some obsolete packages from buster installed and
therefore cannot upgrade some other packages instead of removing the
obsolete bits and upgrading everything upgradable. This usually needs
some additional Breaks to be added to guide apt to the right way.
One challenge upgrading from buster is to get rid of the unversioned
python and friends along with most of the packages Python 2 modules.
The ros-* stack is a bit problematic here, but this can be solved by
adding some Breaks in python3-yaml. (Sounds a bit non-intuitive to add
them to a python3-* package, but there is no better fitting package with
a sufficiently high score involved in these scenarios.)
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.
Andreas
diff -Nru pyyaml-5.3.1/debian/changelog pyyaml-5.3.1/debian/changelog
--- pyyaml-5.3.1/debian/changelog 2021-05-21 17:11:00.000000000 +0200
+++ pyyaml-5.3.1/debian/changelog 2021-06-14 00:30:26.000000000 +0200
@@ -1,3 +1,16 @@
+pyyaml (5.3.1-5) UNRELEASED; urgency=medium
+
+ * 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: #-1)
+
+ -- Andreas Beckmann <[email protected]> Mon, 14 Jun 2021 00:30:26 +0200
+
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 17:11:00.000000000 +0200
+++ pyyaml-5.3.1/debian/control 2021-06-14 00:30:26.000000000 +0200
@@ -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
--- End Message ---
--- Begin Message ---
Source: pyyaml
Source-Version: 5.3.1-5
Done: Stefano Rivera <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pyyaml, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated pyyaml package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 24 Jun 2021 19:02:58 -0400
Source: pyyaml
Architecture: source
Version: 5.3.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 989930
Changes:
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)
Checksums-Sha1:
713686bd3272ea4f1b05b042f46a7c3ef9a6b070 1542 pyyaml_5.3.1-5.dsc
d2cdae47a10a2925f19aee4b8df08521a2311a4a 8012 pyyaml_5.3.1-5.debian.tar.xz
8eafd53ec8867d62d05691e776dca34b985a6b2f 5791 pyyaml_5.3.1-5_source.buildinfo
Checksums-Sha256:
bc99bf2138e594faca3a28d2602077fb0fbc3d159a69ce4dbb61fe370baeb662 1542
pyyaml_5.3.1-5.dsc
25e4599c3a178310b1badca84442cf388178ce3cc5b53228b2fe62645c829e07 8012
pyyaml_5.3.1-5.debian.tar.xz
b92b0322eeb92f58a2cfcc7c6505db4205c577343ced5e8b225f080565e94776 5791
pyyaml_5.3.1-5_source.buildinfo
Files:
f0dc2507fcc5f008d8b45c0a917e8cbd 1542 python optional pyyaml_5.3.1-5.dsc
66c1ba6c79b65566667dda16625c4f7d 8012 python optional
pyyaml_5.3.1-5.debian.tar.xz
7ed5cc41f7a91d56d46383d7ffc41a86 5791 python optional
pyyaml_5.3.1-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYNUQNAAKCRBHew2wJjpU
2ArYAP9l7tomHxSexPykkev49YK4pu+cqLQuZ3BMmNScOGWTngD/SbKZOqDhwKFo
Dotr806tqSiHng/uXx5O6TR7jcktpwE=
=kZol
-----END PGP SIGNATURE-----
--- End Message ---