Package: python3-setuptools Version: 59.6.0-1.2 Severity: wishlist Control: affects -1 src:asdf-standard
Dear maintainer,
I have a package (asdf-standard) that has no setup.py but a
pyproject.toml that contains (almost) all metadata. According to the
compilation hint, I added pybuild-plugin-pyproject to the build
dependencies. However it
still does not build properly. The build fails with the following
output:
----------------------------8<----------------------------------------
* Building wheel...
Successfully built UNKNOWN-1.0.3-py3-none-any.whl
I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.10
with "installer" module
E: pybuild pybuild:369: build: plugin pyproject failed with: UNKNOWN
wheel found: UNKNOWN-1.0.3-py3-none-any.whl. Does pyproject.toml specify
a build-backend?
dh_auto_build: error: pybuild --build -i python{version} -p 3.10
returned exit code 13
make: *** [debian/rules:5: binary] Error 25
----------------------------8<----------------------------------------
The build backend specified in pyproject.toml is
build-backend = "setuptools.build_meta"
In a discussion on the debian-python mailing list Scott Talberg gave the
hint:
> I *think* the issue might be that our setuptools is too old to
> understand how to get project metadata from pyproject.toml (PEP 621).
> This seems to indicate that it was added in setuptools 61.0.0:
>
> https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
Therefore, I would ask if setuptools could be upgraded to at least
version 61?
Best regards
Ole
pyproject.toml
Description: application/toml

