Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14684

Re: Different behavior of package with pyproject.toml

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Different behavior of package with pyproject.toml
Date Sun, 04 Dec 2022 17:10:01 +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>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Dec 4 16:00:25 2022
Old-Return-Path <news@liska.ath.cx>
X-Amavis-Spam-Status No, score=-6.352 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.249, KHOP_HELO_FCRDNS=0.399, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Greylist delayed 84166 seconds by postgrey-1.36 at bendel; Sun, 04 Dec 2022 15:42:19 UTC
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Lines 42
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20546
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87o7sjw4yw.fsf@poch
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 04 Dec 2022 16:42:15 +0100
X-Original-Message-ID <87o7sjw4yw.fsf@poch>
X-Original-References <87sfhwwjd1.fsf@poch> <1976032.W411Haed44@localhost>
Xref csiph.com linux.debian.maint.python:14684

Show key headers only | View raw


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


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