Bug#991434: unblock: six/1.16.0-2 (pre-approval)
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package six
This is the last bit in the series of adding more Breaks to help the
removal of the unversioned python packages along with the packaged
python2 modules on upgrades from buster to bullseye. (Other packages
involved were python2.7 and pyyaml, maybe more.) Unfortunately I had
missed filing the bug against src:six (#991433), otherwise the fix
should have landed in sid already some time ago.
unblock six/1.16.0-2
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 <anbe@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
Reply to: