Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14334
| Path | csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Talbert <swt@techie.net> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: pybuild pyproject.toml problem |
| Date | Fri, 12 Aug 2022 00:10:01 +0200 |
| Message-ID | <EToxj-hytx-5@gated-at.bofh.it> (permalink) |
| References | <ETnUB-hy0W-1@gated-at.bofh.it> |
| X-Original-To | Ole Streicher <olebole@debian.org> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Aug 11 22:07:24 2022 |
| Old-Return-Path | <swt@techie.net> |
| X-Amavis-Spam-Status | No, score=-7.19 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, MURPHY_DRUGS_REL8=0.02, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| X-Greylist | delayed 579 seconds by postgrey-1.36 at bendel; Thu, 11 Aug 2022 22:07:10 UTC |
| X-X-Sender | talbert@bear.techie.net |
| User-Agent | Alpine 2.22 (DEB 394 2020-01-19) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII; format=flowed |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20168 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/alpine.DEB.2.22.394.2208111754020.36944@bear.techie.net |
| Approved | robomod@news.nic.it |
| Lines | 41 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Thu, 11 Aug 2022 17:57:04 -0400 (EDT) |
| X-Original-Message-ID | <alpine.DEB.2.22.394.2208111754020.36944@bear.techie.net> |
| X-Original-References | <87sfm2pk4x.fsf@orrococo> |
| Xref | csiph.com linux.debian.maint.python:14334 |
Show key headers only | View raw
On Thu, 11 Aug 2022, Ole Streicher wrote:
> Hi,
>
> I have a package
>
> https://salsa.debian.org/debian-astro-team/asdf-standard
>
> that changed its build process to pyproject.toml. As hinted by pybuild,
> I added pybuild-plugin-pyproject to the build dependencies; however it
> still does not build properly. The build fails with the following
> output:
>
> -------------------------------8<-----------------------------------
> * Building wheel...
> Successfully built UNKNOWN-1.0.3-py3-none-any.whl
> I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.10 with "installer" module
> E: pybuild pybuild:369: build: plugin pyproject failed with: UNKNOWN wheel found: UNKNOWN-1.0.3-py3-none-any.whl. Does pyproject.toml specify a build-backend?
> dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned exit code 13
> make: *** [debian/rules:5: binary] Error 25
> -------------------------------8<-----------------------------------
>
> which I do not understand. The build backend specified in pyproject.toml is
>
> build-backend = "setuptools.build_meta"
>
> What goes wrong here?
>
> Full build log:
>
> https://salsa.debian.org/debian-astro-team/asdf-standard/-/jobs/3095942
I *think* the issue might be that our setuptools is too old to understand
how to get project metadata from pyproject.toml (PEP 621). This seems to
indicate that it was added in setuptools 61.0.0:
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
As a workaround, you might try to patch the metadata back into setup.cfg?
Scott
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pybuild pyproject.toml problem Ole Streicher <olebole@debian.org> - 2022-08-11 23:30 +0200
Re: pybuild pyproject.toml problem Scott Talbert <swt@techie.net> - 2022-08-12 00:10 +0200
Re: pybuild pyproject.toml problem Stefano Rivera <stefanor@debian.org> - 2022-08-12 11:00 +0200
Re: pybuild pyproject.toml problem Ole Streicher <olebole@debian.org> - 2022-08-12 15:10 +0200
Re: pybuild pyproject.toml problem Scott Talbert <swt@techie.net> - 2022-08-12 17:20 +0200
Re: pybuild pyproject.toml problem Ole Streicher <olebole@debian.org> - 2022-08-12 21:10 +0200
csiph-web