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


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

Re: Different behavior of package with pyproject.toml

Path csiph.com!news.neodome.net!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
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-9@gated-at.bofh.it> (permalink)
References <FyDS9-86GP-1@gated-at.bofh.it> <FyMsp-8bYr-5@gated-at.bofh.it> <FyZIZ-8kKw-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Dec 4 16:05:20 2022
Old-Return-Path <debian@kitterman.com>
X-Amavis-Spam-Status No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20547
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/090B074D-FFFD-41A8-8209-A27A70023919@kitterman.com
Approved robomod@news.nic.it
Lines 61
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 04 Dec 2022 16:04:26 +0000
X-Original-Message-ID <090B074D-FFFD-41A8-8209-A27A70023919@kitterman.com>
X-Original-References <87sfhwwjd1.fsf@poch> <1976032.W411Haed44@localhost> <87o7sjw4yw.fsf@poch>
Xref csiph.com linux.debian.maint.python:14685

Show key headers only | View raw



On December 4, 2022 3:42:15 PM UTC, Ole Streicher <olebole@debian.org> wrote:
>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?


python3-installer

Scott K

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