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/ce2905f7c753cad748c339c737bb6eb8c24cce46 > > Does anyone see what I am missing? > > -- > Mike > > :wq -- Elliott -- _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue