Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14982
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Étienne Mollier <emollier@emlwks999.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Python pybuild system & setup.cfg |
| Date | Thu, 23 Mar 2023 22:10:01 +0100 |
| Message-ID | <GcAm5-eBrH-1@gated-at.bofh.it> (permalink) |
| References | <GcA2J-eB5D-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Mar 23 21:08:18 2023 |
| Old-Return-Path | <emollier@emlwks999.eu> |
| X-Amavis-Spam-Status | No, score=-5.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MONEY=0.5, PGPSIGNATURE=-5, RCVDMAILO=5] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Ea-Auth | dnTs7AnX/2M8lrWSNqLCTzccWJuWa36zwQPXG7JpEvNh41pJPjQFd6hBd0ze0Aon9Icjv3bmkkOg664KdIyaIgNFU/0SWZ5ELpDgencWI8M= |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Za69hhdkQ2P+ur+m" |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20890 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/ZBy/rF3RyZ0WIzXk@fusion |
| Approved | robomod@news.nic.it |
| Lines | 79 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 23 Mar 2023 22:07:56 +0100 |
| X-Original-Message-ID | <ZBy/rF3RyZ0WIzXk@fusion> |
| X-Original-References | <a34d5399-ae91-a18c-4644-d46fcb039e04@web.de> |
| Xref | csiph.com linux.debian.maint.python:14982 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Hilmar, Preuße, Hilmar, on 2023-03-23: > I'm a little bit lost, by building the pssh package. The upstream author > released a new version, which changed the build system. Before I had a > setup.py in the root directory, now there is a pyproject.toml and a > setup.cfg file, the setup.py is gone. The debian/rules file calls the dh > sequencer: > > DESTDIR=debian/tmp > > %: > dh $@ --buildsystem=pybuild > > The build fails right at the beginning, with: > > dh clean --buildsystem=pybuild > dh_auto_clean -O--buildsystem=pybuild > I: pybuild base:240: python3.11 setup.py clean > python3.11: can't open file '/<<PKGBUILDDIR>>/setup.py': [Errno 2] No > such file or directory > E: pybuild pybuild:388: clean: plugin distutils failed with: exit > code=2: python3.11 setup.py clean > > The content of the pyproject.toml is: > > [build-system] > requires = ["setuptools"] > build-backend = "setuptools.build_meta" > > The build Deps I use until now are: > > Build-Depends: debhelper-compat (= 13), > python3, > python3-setuptools, > dh-sequence-python3 > > I don't know what needs to be changed to convince debhelper to use the > setup.cfg instead of setup.py. My wild guess is that I have to change my > BD's but I don't know what needs to be added/removed. offpunk upstream made a similar move recently. I added the following packages to build dependencies: * flit * pybuild-plugin-pyproject Hope this helps, -- Étienne Mollier <emollier@emlwks999.eu> Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da Sent from /dev/tty1, please excuse my verbosity.
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python pybuild system & setup.cfg Preuße, Hilmar <hille42@web.de> - 2023-03-23 21:50 +0100
Re: Python pybuild system & setup.cfg Étienne Mollier <emollier@emlwks999.eu> - 2023-03-23 22:10 +0100
Re: Python pybuild system & setup.cfg Scott Kitterman <debian@kitterman.com> - 2023-03-23 22:20 +0100
Re: Python pybuild system & setup.cfg Preuße, Hilmar <hille42@web.de> - 2023-03-23 23:10 +0100
csiph-web