Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14684
| From | Ole Streicher <olebole@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Different behavior of package with pyproject.toml |
| Date | 2022-12-04 17:10 +0100 |
| Message-ID | <FyZIZ-8kKw-3@gated-at.bofh.it> (permalink) |
| References | <FyDS9-86GP-1@gated-at.bofh.it> <FyMsp-8bYr-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Different behavior of package with pyproject.toml Ole Streicher <olebole@debian.org> - 2022-12-03 17:50 +0100
Re: Different behavior of package with pyproject.toml Scott Kitterman <debian@kitterman.com> - 2022-12-04 03:00 +0100
Re: Different behavior of package with pyproject.toml Ole Streicher <olebole@debian.org> - 2022-12-04 17:10 +0100
Re: Different behavior of package with pyproject.toml Scott Kitterman <debian@kitterman.com> - 2022-12-04 17:10 +0100
Re: Different behavior of package with pyproject.toml Ole Streicher <olebole@debian.org> - 2022-12-04 18:10 +0100
csiph-web