Path: csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: =?UTF-8?B?UHJldcOfZSwgSGlsbWFy?= Newsgroups: linux.debian.maint.python Subject: Python pybuild system & setup.cfg Date: Thu, 23 Mar 2023 21:50:01 +0100 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Mar 23 20:49:34 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.969 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Ui-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Betterbird/102.9.0 Content-Language: en-US, de-DE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Ca3VMWDWdkUda1UnlvjpavECgO3AbZiu+/Ajcd0u4DY1/z6LGXj WXlzep42SMBo3DaUwJjAPYLW1EfpGrhKi8KfKW9ZGqnOIfFlnH7rvaDR/53G4iAI9e4jdCW F77nSRKLRiZhqwULNaAvbGPE52ix8XAl41EguNU8y8AADlxYQSfQbEhQrpmPAV9kuWsc3/d ew5XO6jliuezjH16renvQ== Ui-Outboundreport: notjunk:1;M01:P0:TQ4/fYWglGk=;Hzj6moLePPi4KIt1+S8yQlXvpI4 bbG26SdvrtD+NuxfuIDswIaqdH6M1LeWWgx1kzH2H/+5gwhKctY2+YucPZXmxfnhBC34e5fOI GfteB01N8AI8xitjxef6+xsAtxo5l1093vVzNNEYJ1h/9KypVS78DUTzMzhofD7+PBtJD34mv qIr5E/VyCpzIk39eJVZt0Tm8fnBUtV93NDYJpjWyp7bs6oCt5GGmqoYR3XP0eeJYOW8LYXi12 edA+WAtwtXvGr4G2RSekdLLcA+B8Dt7HwJtgMI/Tb/kVpbW/RjWF/yzq3iky8ZRetxdL0zeSi a5JSyoRydtX5eRWiMpv23Ap2vSxZJ1Lhax0tyx0VgXqKZO09N95znC+NCsHrCh8hUuHOSlVsG eHICuW1hPpwmw5qxoLiYefiq3r5yK8OnzwTPEET9i61IPi6GE4RJqFvhLBikUdE6TaEgQcQrX I1mPtTy8jseIXZey59qRrGDjsDCWyae3j483sQr8q8cWkTNoV8IeqMLR+Bn/RG6cb7gxv4KsO Gt3AEUPYz6J2xLRUEsq1f0nKe+jvjPJ1jNphm8507KW5yexeauc569Gb3G79xppeCN6AKPeW6 7qeVmjayEQNKD78FmCXUqOH+bV8lGg4FuG5EHn7bfyozZXq7J6czVcEzoXvXEIx2VFoAQpR41 Vm057EuEzEiWgDQ66TnHLdObiNaO+z4vnWMrmJ0/lnJsqmwJ7xy0H99gZl3HdEKpqGTPlp2Vl rYn6T1jF9A4sdpQREQbPpwXRdAvqrWi9O+3Eb/S2mfSpPzrdLlpY7nTrf4k/XXJfORijTVg9x QBl9pMc5fYAX75ssu+Nvk8YyhZCa0hJFdRG9ZHlFUV2Br68fZ7E5z4B9xrLYcAwK1gIh6bWiB Q2HBVmoTPDaZtxWxEIy/5GltApS/91V7na0gc6tiIyJQ/1G386KWEamHgfe3wadsytST8FNxu 7ehwn6uU0pTVdboMcwK/sN2BT3k= X-Mailing-List: archive/latest/20889 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/a34d5399-ae91-a18c-4644-d46fcb039e04@web.de Approved: robomod@news.nic.it Lines: 44 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 23 Mar 2023 21:49:12 +0100 X-Original-Message-ID: Xref: csiph.com linux.debian.maint.python:14981 Hi, 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=3Ddebian/tmp %: dh $@ --buildsystem=3Dpybuild The build fails right at the beginning, with: 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 The content of the pyproject.toml is: [build-system] requires =3D ["setuptools"] build-backend =3D "setuptools.build_meta" The build Deps I use until now are: Build-Depends: debhelper-compat (=3D 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. Thanks for help, Hilmar =2D- sigfault