Package: python3-installer
Version: 0.5.1+dfsg1-3
Severity: important
Control: affects -1 src:asdf-astropy

Dear maintainer,

The package asdf-astropy recently switched to use pyproject.toml, and now the installation is myteriously incomplete: The package consists of a number of subpackages:

$ du asdf_astropy
8       asdf_astropy/io/tests
16      asdf_astropy/io
8       asdf_astropy/resources/schemas/table
8       asdf_astropy/resources/schemas/time
[...]

When building interactively (on the shell) in a sid environment, the build is often complete -- it seems to depend on the installed packages (when git is installed, it is complete; without git often not).

When building with pbuilder, on Salsa [1], or on buildd [2], the package is however missing all subpackages:

------------------------------8<---------------------------------
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build" module I: pybuild base:240: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /builds/debian-astro-team/asdf-astropy/debian/output/source_dir/.pybuild/cpython3_3.11 /usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/asdf_astropy
copying asdf_astropy/_version.py -> build/lib/asdf_astropy
[... no asdf_astropy/io files here ...]
* Building wheel...
Successfully built asdf_astropy-0.3.0-py3-none-any.whl
I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.11 with "installer" module
------------------------------8<---------------------------------

On a discussion on the debian-python@l.d.o list, Scott Kitterman suggested [3] that this may be a bug in python3-installer; that's why the bug is filed here. Please re-assign if not.

This problem currently prevents a successfull build for asdf-astropy.

Best regards

Ole

[1] https://salsa.debian.org/debian-astro-team/asdf-astropy/-/jobs/3605729
[2] https://buildd.debian.org/status/fetch.php?pkg=asdf-astropy&arch=all&ver=0.3.0-1&stamp=1670016252&raw=0
[3] https://lists.debian.org/debian-python/2022/12/msg00036.html

Reply via email to