control: reassign -1 dh-python control: found -1 6.20230825 control: affects -1 python-vulndb borgbackup
hello, I see a TON of FTBFS bugs for python failures I suspect the reason for them to fail is * Remove *.egg-info directories in clean step, as part of Debian's wider effort to improve clean targets. Thanks Stuart Prescott for the patch. in latest dh-python now, SOURCES.txt is created usually based on files that are under git versioning, but we don't have git installed during build cleaning up that directory during clean step, makes it not correctly being re-created I presume we should assign them back to dh-python and check with python maintainers if we can do something creating egg-info from scratch, is for sure something I really like, but maybe not so feasible in general for borgbackup I crafted an hacky patch to add on MANIFEST.in file an additional file https://salsa.debian.org/debian/borgbackup/-/blob/master/debian/patches/7793.patch The problem of this kind of patches is: 1) is fragile and changes on every upstream release (specially for tests containing a ton of subfiles) 2) can't be upstreamed easily so I don't think deleting egg-info during clean as default is a sane thing to do maybe this can mitigate indeed https://salsa.debian.org/python-team/tools/dh-python/-/commit/3d42f08deb9ffb0d2f7a689dbc5a314ab5ded6c4 What is the opinion of dh-python maintainers? Feel free to reassign back if you don't agree thanks Gianfranco On Tue, 26 Sep 2023 14:44:47 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
Source: python-vulndb Version: 0.1.3-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230925 ftbfs-trixie Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild> I: pybuild base:291: python3.11 setup.py config > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.> !!> > ********************************************************************************> Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > ********************************************************************************> > !!> dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running config > dh_auto_build -O--buildsystem=pybuild> I: pybuild base:291: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.> !!> > ********************************************************************************> Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > ********************************************************************************> > !!> dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb > copying vulndb/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb > copying vulndb/db_vuln.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests > copying vulndb/tests/test_load_all_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests > copying vulndb/tests/test_db_vuln.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests > copying vulndb/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants > copying vulndb/constants/wasc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants > copying vulndb/constants/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants > copying vulndb/constants/cwe.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants > copying vulndb/constants/owasp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants
OpenPGP_signature
Description: OpenPGP digital signature