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


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

Re: pybuild pyproject.toml problem

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pybuild pyproject.toml problem
Date Fri, 12 Aug 2022 15:10:01 +0200
Message-ID <ETCAh-5VD-15@gated-at.bofh.it> (permalink)
References <ETnUB-hy0W-1@gated-at.bofh.it> <EToxj-hytx-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Aug 12 13:00:14 2022
Old-Return-Path <news@liska.ath.cx>
X-Amavis-Spam-Status No, score=-6.341 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, KHOP_HELO_FCRDNS=0.399, 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: -5.5
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Lines 29
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20170
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87edxlpr8t.fsf@orrococo
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 12 Aug 2022 14:42:58 +0200
X-Original-Message-ID <87edxlpr8t.fsf@orrococo>
X-Original-References <87sfm2pk4x.fsf@orrococo> <alpine.DEB.2.22.394.2208111754020.36944@bear.techie.net>
Xref csiph.com linux.debian.maint.python:14336

Show key headers only | View raw


Scott Talbert <swt@techie.net> writes:
> On Thu, 11 Aug 2022, Ole Streicher wrote:
>> -------------------------------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<-----------------------------------
>
> 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?

Since setuptools 63 is already in experimental, I will probably just
wait until it makes its way to unstable (and file a bug for it).

Cheers

Ole

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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