Package: python3-build
Version: 0.10.0-1
Severity: important
Dear maintainer,
I am trying to build the package "asdf-wcs-schema"
https://salsa.debian.org/debian-astro-team/asdf-wcs-schemas
which includes a lot of metadata, f.e.
resources/manifests/gwcs-1.0.0.yaml
With the normal build procedure, the build does not include the data
files see f.e.
https://salsa.debian.org/debian-astro-team/asdf-wcs-schemas/-/jobs/4706731
I traced this down to the "python3 -m build" call, which is
python3.11 -m build --skip-dependency-check --no-isolation --wheel
--outdir
/builds/debian-astro-team/asdf-wcs-schemas/debian/output/source_dir/.pybuild/cpython3_3.11
Running this command locally on a system with just the build deps
installed does (with the environment variable
SETUPTOOLS_SCM_PRETEND_VERSION=0.2.0) not include the data files.
However, when I install the "git" package, the data files are included.
The packages uses pyproject.toml, and the data files are specified as
----------------------------8<-------------------------------
[tool.setuptools]
packages = ["asdf_wcs_schemas", "asdf_wcs_schemas.resources"]
[tool.setuptools.package-data]
"asdf_wcs_schemas.resources" = ["resources/**/*.yaml"]
[tool.setuptools.package-dir]
'' = "src"
"asdf_wcs_schemas.resources" = "resources"
----------------------------8<-------------------------------
which looks reasonable to me.
I am not sure if python3-build is the relevant package for the bug;
however I could not find out more from the output. Please re-assign if
required.