Using pyproject macros when setup.py isn't in root directory

2025-07-08 Thread Scott Talbert via python-devel
Is there any way to use the pyproject macros when setup.py isn't in the root directory? I maintain a couple of packages where this is the case - one where there are actually two PyPI packages built from the same source package, and another where the Python package is in a subdirectory because

Re: Neuro SIG Python packaging strategy change

2025-07-08 Thread Ankur Sinha via python-devel
Hi Fabio, On Tue, Jul 08, 2025 16:48:34 +0200, Fabio Valentini via python-devel wrote: > On Tue, Jul 8, 2025 at 12:51 PM Ankur Sinha via python-devel > wrote: > > > > We've started to orphan packages and add them to the pytest testing > > framework. You can see this in the PR. So far we've not ru

Re: Neuro SIG Python packaging strategy change

2025-07-08 Thread Fabio Valentini via python-devel
On Tue, Jul 8, 2025 at 12:51 PM Ankur Sinha via python-devel wrote: > > We've started to orphan packages and add them to the pytest testing > framework. You can see this in the PR. So far we've not run into a > package that is not installable/usable via pip on py3.12. I need to run > checks with o

Re: Neuro SIG Python packaging strategy change

2025-07-08 Thread Ankur Sinha via python-devel
Hi all, Quick update. I tinkered with two different methods of: - checking if a package installs on Fedora with pip - checking if it can be imported - checking if the provided command line tools work One was using tmt, the other using pytest. - tmt: https://pagure.io/neuro-sig/NeuroFedora/pul