Source: python-apt Version: 2.1.7 Tags: patch User: helm...@debian.org Usertags: rebootstrap
python-apt participates in a number of dependency cycles relevant to architecture bootstrap. Rather than work on such a difficult problem, I looked into easily droppable dependencies. It turns out that a nocheck build with the following dependencies turned into Build-Conflicts exactly reproduces binary artifacts of a regular build: * apt-utils * distro-info-data * gnupg * dirmngr * pycodestyle * pyflakes3 As such I suggest annotating them <!nocheck>. Please consider applying the attached patch. Helmut
diff --minimal -Nru python-apt-2.1.7/debian/changelog python-apt-2.1.7+nmu1/debian/changelog --- python-apt-2.1.7/debian/changelog 2020-12-10 15:35:32.000000000 +0100 +++ python-apt-2.1.7+nmu1/debian/changelog 2021-01-20 23:22:50.000000000 +0100 @@ -1,3 +1,10 @@ +python-apt (2.1.7+nmu1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Annotate test dependencies with <!nocheck>. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 20 Jan 2021 23:22:50 +0100 + python-apt (2.1.7) unstable; urgency=medium * SECURITY UPDATE: various memory and file descriptor leaks (LP: #1899193) diff --minimal -Nru python-apt-2.1.7/debian/control python-apt-2.1.7+nmu1/debian/control --- python-apt-2.1.7/debian/control 2020-12-10 15:35:32.000000000 +0100 +++ python-apt-2.1.7+nmu1/debian/control 2021-01-20 23:22:48.000000000 +0100 @@ -6,10 +6,10 @@ Rules-Requires-Root: no Standards-Version: 4.5.0 Build-Depends: apt (>= 1.0.9.4), - apt-utils, + apt-utils <!nocheck>, debhelper-compat (= 12), dh-python, - distro-info-data, + distro-info-data <!nocheck>, fakeroot, libapt-pkg-dev (>= 1.9.11~), python3-all (>= 3.3), @@ -19,10 +19,10 @@ python3-distutils-extra (>= 2.0), python3-setuptools, python3-sphinx (>= 0.5), - gnupg, - dirmngr | gnupg (<< 2), - pycodestyle, - pyflakes3 + gnupg <!nocheck>, + dirmngr <!nocheck> | gnupg (<< 2) <!nocheck>, + pycodestyle <!nocheck>, + pyflakes3 <!nocheck>, Vcs-Git: https://salsa.debian.org/apt-team/python-apt.git Vcs-Browser: https://salsa.debian.org/apt-team/python-apt