I maintain Fedora's academic-admin package, and I found that it will not compile on Rawhide. Building in mock/Fedora 42 works fine. On Rawhide, I get:
$ mock -r fedora-rawhide-x86_64 --rebuild [...]/academic-admin-0.11.2-1.fc42.src.rpm [...] LookupError: tox configuration not found. To use tox, please ensure tox configuration is located in current directory (in tox.ini, setup.cfg, pyproject.toml, or tox.toml). See https://tox.wiki/en/latest/config.html for details. [...]
I am not sure why the build process is running Tox on mock/Rawhide. I tried a few variations, including adding an explicit %check section, both one that was empty and one that contained %pytest; and also patching out any mention of tox in the source tree.
The version I am trying to build is:
https://src.fedoraproject.org/rpms/academic-admin/tree/ce2905f7c753cad748c33...
Does anyone see what I am missing?
On Wed, Jun 18, 2025 at 4:12 PM W. Michael Petullo via python-devel python-devel@lists.fedoraproject.org wrote:
I maintain Fedora's academic-admin package, and I found that it will not compile on Rawhide. Building in mock/Fedora 42 works fine. On Rawhide, I get:
$ mock -r fedora-rawhide-x86_64 --rebuild [...]/academic-admin-0.11.2-1.fc42.src.rpm [...] LookupError: tox configuration not found. To use tox, please ensure tox configuration is located in current directory (in tox.ini, setup.cfg, pyproject.toml, or tox.toml). See https://tox.wiki/en/latest/config.html for details. [...]
I am not sure why the build process is running Tox on mock/Rawhide. I tried a few variations, including adding an explicit %check section, both one that was empty and one that contained %pytest; and also patching out any mention of tox in the source tree.
You have passed `-t` to `pyproject_buildrequires`; it was always using tox, now it's an error to try it if there's no configuration for it available.
The version I am trying to build is:
https://src.fedoraproject.org/rpms/academic-admin/tree/ce2905f7c753cad748c33...
Does anyone see what I am missing?
-- Mike
:wq
python-devel@lists.fedoraproject.org