Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: =?utf-8?Q?=C3=89tienne?= Mollier Newsgroups: linux.debian.maint.python Subject: Re: Python pybuild system & setup.cfg Date: Thu, 23 Mar 2023 22:10:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Mar 23 21:08:18 2023 Old-Return-Path: 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: archive/latest/20890 List-ID: List-URL: 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: X-Original-References: Xref: csiph.com linux.debian.maint.python:14982 --Za69hhdkQ2P+ur+m Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Hilmar, Preu=C3=9Fe, 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: >=20 > DESTDIR=3Ddebian/tmp >=20 > %: > dh $@ --buildsystem=3Dpybuild >=20 > The build fails right at the beginning, with: >=20 > dh clean --buildsystem=3Dpybuild > dh_auto_clean -O--buildsystem=3Dpybuild > I: pybuild base:240: python3.11 setup.py clean > python3.11: can't open file '/<>/setup.py': [Errno 2] No > such file or directory > E: pybuild pybuild:388: clean: plugin distutils failed with: exit > code=3D2: python3.11 setup.py clean >=20 > The content of the pyproject.toml is: >=20 > [build-system] > requires =3D ["setuptools"] > build-backend =3D "setuptools.build_meta" >=20 > The build Deps I use until now are: >=20 > Build-Depends: debhelper-compat (=3D 13), > python3, > python3-setuptools, > dh-sequence-python3 >=20 > 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, --=20 =C3=89tienne Mollier Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da Sent from /dev/tty1, please excuse my verbosity. --Za69hhdkQ2P+ur+m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmQcv6wACgkQeTz2fo8N Edp1WA//WR6Lczs/Wra8eDt1TprfdTgboDeC+hgWBO9OP1k/Z8QU1azQS6gXXc4s z2WI0+0US7Wqb1b602N//8lvdpj2hkIKII+BamnJzWMs16o+ClvmaVzKOQ6kvXaO /CyursdrG+9kc6Qazza9ARYIqvSbEleNJJvdm2A9XVuoAy8MYRX3mf9WqUWystUU ApbAI3/d/LBHpW9NqQbCfYFe0POSMA20QJo76f04UzDd7qOIX5j0lrGz+hs/Sz6R 4MK/IO9ObhpSdnO6rBS3Z0qBxZoPk//EtyUbx754wE8/nDSJpXpKMTdehgFvHoYg zuNooVeJxP48WiWkYLcTrGXZEa/GL6zcEb6z49mwl3lypDdwMsZKMheZSk0edXJP iK70WAsS9bYONihMP+ckFu6xyzTXlZbTu1Zy47IR4K9VVDMgrLU7ot5VBn6Mx3in aJLad26+we4U8ATyvWYlhEe1o0ARcthkRcUopJKcGqidCIy8FSAIOKvP6LkybU/I iR9Ipzr0LE5iUb7fy6NGFuTV3wcIE3ZNiCbgbc7MTSQjvsxwTC0OpoY8PQXyb9AO PrQtRSav4hOLHV0vMNVCh34waX5dVu/RqGqLJCznInB/2ctvCFXlH+3mYBM5vgmI AJ1v0fye+U3gudhhxbLGIU8tI/7OzH+vjmBiNVY8ggAZBh6yV8E= =Dnve -----END PGP SIGNATURE----- --Za69hhdkQ2P+ur+m--