Re: Different behavior of package with pyproject.toml
Hi Scott,
thanks for the hint.
Scott Kitterman <debian@kitterman.com> writes:
> My first guess is that in some circumstances setuptools is doing the installing
> and in others it's the dh-python pyproject plugin (using the installer
> module). Looking at the build log on buildd.d.o, I can see that build is
> using the plugin/installer.
>
> I think it would be useful to stop the build right before the install step
> starts [1], manually unpack the wheel (it's a zip file) and see if it has all
> the files in it. If it does, then plugin/build is doing the right thing and
> it's an issue with either the plugin or the installer module.
I couldn't manage this; however when looking into the log, I see
---------------------------------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<---------------------------------------------
So I would suspect that it is already the build does something wrong
here. Which package is that? pybuild-plugin-pyproject?
Best
Ole
Reply to: