Your message dated Tue, 27 Jul 2021 16:18:39 +0000
with message-id <e1m8pmx-0004vf...@fasolo.debian.org>
and subject line Bug#991433: fixed in six 1.16.0-2
has caused the Debian Bug report #991433,
regarding six: please add Breaks against unversioned python packages 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 ow...@bugs.debian.org
immediately.)


-- 
991433: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991433
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: six
Version: 1.16.0-1
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 packaged Python 2 modules.
The openstack stack is a bit problematic here, but this can be solved by
adding some Breaks in python-six/python3-six. (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

PS: I thought I had sent this bug report a month ago together with all
the related fixes, but somewhere I must have missed this one.
I'll file an unblock request right away, too.
diff -Nru six-1.16.0/debian/changelog six-1.16.0/debian/changelog
--- six-1.16.0/debian/changelog 2021-05-09 12:40:54.000000000 +0200
+++ six-1.16.0/debian/changelog 2021-06-11 15:49:07.000000000 +0200
@@ -1,3 +1,18 @@
+six (1.16.0-2) UNRELEASED; urgency=medium
+
+  * python-six/python3-six: Copy Breaks: python (<< 2.7.18),
+    python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18),
+    python-iso8601 (<< 0.1.12-2~), python-pbr (<< 5.4.5) from python2.7 to
+    ensure removal of the unversioned python packages (and some persisting
+    obsolete Python 2 module packages) on upgrades from buster. In some
+    upgrade scenarios (mostly involving openstack packages) these Breaks in
+    python2.7 were ineffective because the unversioned python packages got
+    higher scores than python2.7. python-six/python3-six are usually very
+    high scoring Python module packages in these cases, making them ideal
+    candidates for such copies of the Breaks.  (Closes: #-1)
+
+ -- Andreas Beckmann <a...@debian.org>  Fri, 11 Jun 2021 15:49:07 +0200
+
 six (1.16.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru six-1.16.0/debian/control six-1.16.0/debian/control
--- six-1.16.0/debian/control   2021-05-09 12:40:54.000000000 +0200
+++ six-1.16.0/debian/control   2021-06-11 15:49:07.000000000 +0200
@@ -26,6 +26,11 @@
 Multi-Arch: foreign
 Depends: ${misc:Depends},
          ${python:Depends},
+Breaks: python (<< 2.7.18),
+        python-minimal (<< 2.7.18),
+        libpython-stdlib (<< 2.7.18),
+        python-iso8601 (<< 0.1.12-2~),
+        python-pbr (<< 5.4.5),
 Description: Python 2 and 3 compatibility library (Python 2 interface)
  Six is a Python 2 and 3 compatibility library. It provides utility
  functions for smoothing over the differences between the Python versions
@@ -40,6 +45,9 @@
 Multi-Arch: foreign
 Depends: ${misc:Depends},
          ${python3:Depends},
+Breaks: python (<< 2.7.18),
+        python-minimal (<< 2.7.18),
+        libpython-stdlib (<< 2.7.18),
 Description: Python 2 and 3 compatibility library (Python 3 interface)
  Six is a Python 2 and 3 compatibility library. It provides utility
  functions for smoothing over the differences between the Python versions

--- End Message ---
--- Begin Message ---
Source: six
Source-Version: 1.16.0-2
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
six, 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 991...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated six 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 27 Jul 2021 11:44:18 -0400
Source: six
Architecture: source
Version: 1.16.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 991433
Changes:
 six (1.16.0-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Andreas Beckmann ]
   * python-six/python3-six: Copy Breaks: python (<< 2.7.18),
     python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18),
     python-iso8601 (<< 0.1.12-2~), python-pbr (<< 5.4.5) from python2.7 to
     ensure removal of the unversioned python packages (and some persisting
     obsolete Python 2 module packages) on upgrades from buster. In some
     upgrade scenarios (mostly involving openstack packages) these Breaks in
     python2.7 were ineffective because the unversioned python packages got
     higher scores than python2.7. python-six/python3-six are usually very
     high scoring Python module packages in these cases, making them ideal
     candidates for such copies of the Breaks.  (Closes: #991433)
Checksums-Sha1:
 c96df333a09a1f859cf2d92441d03e9e1214318f 1643 six_1.16.0-2.dsc
 e25d4abd800c3cc72c4834406dde46e0e927871f 4892 six_1.16.0-2.debian.tar.xz
 1d8ece88e3258722299d1bd9a1ca9fba7f1b1988 6928 six_1.16.0-2_source.buildinfo
Checksums-Sha256:
 15ad773fabd86cce617daaf6ccb0f9c31d9eaac62411ec5198c1d9c9dbfbd693 1643 
six_1.16.0-2.dsc
 35c7fe199852a2be2575d04d787adabeeb157a72a473ce0295bc7f40df6f26a6 4892 
six_1.16.0-2.debian.tar.xz
 338409bcd2d4ae0c21af330ee0264581db992aff3b58b62da0a382c7864698d5 6928 
six_1.16.0-2_source.buildinfo
Files:
 e413970bc78d380357376e06e60b8073 1643 python optional six_1.16.0-2.dsc
 af4193ede3c3dffa12a245d1bf55ae34 4892 python optional 
six_1.16.0-2.debian.tar.xz
 7dd93fceb21220c0e1068d699a661cdc 6928 python optional 
six_1.16.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYQArYQAKCRBHew2wJjpU
2CCLAP4sJBODJTswJ9MgcI5yGAOMhWdcmzDSfGMKDPTRiL9U8AD/dPv/GxBsc7Fd
nNn3g3l1O6cPRQFGNz5yP31+UpPtMwQ=
=+cHL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to