Package: pybuild-plugin-pyproject Version: 5.20220215 Severity: important Quart recently switched to Poetry, and I ran into this while updating the package:
$ fakeroot debian/rules clean binary dh clean --with sphinxdoc --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/home/andrewsh/projects/quart' dh_auto_clean sed -i \ -e 's,sphinx_rtd_theme,pydata_sphinx_theme,g' \ -e 's,theme.get_html_theme_path(),theme.theme_path,g' \ -e 's,version = ".*",version = meta_version("quart"),g' \ docs/conf.py rm -rf docs/_build make[1]: Leaving directory '/home/andrewsh/projects/quart' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild dh binary --with sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild debian/rules override_dh_auto_build make[1]: Entering directory '/home/andrewsh/projects/quart' dh_auto_build I: pybuild plugin_pyproject:107: Building wheel for python3.9 with "build" module I: pybuild base:237: python3.9 -m build --skip-dependency-check --no-isolation --wheel --outdir /home/andrewsh/projects/quart/.pybuild/cpython3_3.9_quart * Building wheel... Successfully built Quart-0.17.0-py3-none-any.whl I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.9 with "installer" module E: pybuild pybuild:367: build: plugin pyproject failed with: "There is no item named 'Quart-0.17.0.dist-info/WHEEL' in the archive" dh_auto_build: error: pybuild --build -i python{version} -p 3.9 returned exit code 13 make[1]: *** [debian/rules:27: override_dh_auto_build] Error 13 make[1]: Leaving directory '/home/andrewsh/projects/quart' make: *** [debian/rules:11: binary] Error 2 This document says the name of the package has to be normalised according to PEP503: https://packaging.python.org/en/latest/specifications/recording-installed-packages/ PEP503 says the normalisation includes lowercasing the package name: https://peps.python.org/pep-0503/#normalized-names To reproduce the failure, please run the following: git clone https://salsa.debian.org/python-team/modules/quart cd quart fakeroot debian/rules clean binary Thanks! -- Cheers, Andrej