Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock X-Debbugs-Cc: dh-pyt...@packages.debian.org, pi...@debian.org Control: affects -1 + src:dh-python
Please unblock package dh-python [ Reason ] Re-adds some Breaks+Replaces to help upgrade scenarios that Andreas Beckmann discovered through piuparts (bug #1036943). [ Impact ] Upgrades buster -> bullseye -> bookworm will be broken, if the user didn't manually uninstall the old python2 package. [ Tests ] It's just Breaks+Replaces. Manually verified that it works in a manual scenario where buster's python2 package was still installed. [ Risks ] Trivial change. Present in bullseye, but reverted after it. This re-introduces the 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 dh-python/5.20230603
diff -Nru dh-python-5.20230130/debian/changelog dh-python-5.20230603/debian/changelog --- dh-python-5.20230130/debian/changelog 2023-01-30 12:30:45.000000000 -0400 +++ dh-python-5.20230603/debian/changelog 2023-06-03 10:49:36.000000000 -0400 @@ -1,3 +1,10 @@ +dh-python (5.20230603) unstable; urgency=medium + + * Reintroduce Breaks+Replaces on python2 needed to help apt in some upgrade + scenarios. (Closes: #1036943) + + -- Stefano Rivera <stefa...@debian.org> Sat, 03 Jun 2023 10:49:36 -0400 + dh-python (5.20230130) unstable; urgency=medium * pybuild.pm: Export SETUPTOOLS_SCM_PRETEND_VERSION for packages using diff -Nru dh-python-5.20230130/debian/control dh-python-5.20230603/debian/control --- dh-python-5.20230130/debian/control 2023-01-30 12:30:45.000000000 -0400 +++ dh-python-5.20230603/debian/control 2023-06-03 10:49:36.000000000 -0400 @@ -29,6 +29,9 @@ Breaks: # due to /usr/bin/dh_python3 and debhelper files python3 (<< 3.3.2-4~), +# due to debhelper files + python2 (<< 2.7.18-2) +Replaces: python2 (<< 2.7.18-2) Description: Debian helper tools for packaging Python libraries and applications This package contains: * pybuild - invokes various build systems for requested Python versions in