Re: 95 packages use %pyproject_buildrequires with tox without a suitable tox configuration
On 2/5/25 02:47, Miro Hrončok via python-devel wrote: Hello Pythonistas. When we updated tox from version 3 to 4, it no longer fails when here is no suitable tox configuration found. This was a deliberate upstream choice. Unfortunately, it means that packages that use %pyproject_buildrequires with -t or -e now silently succeed if there is no tox configuration found. I identified 95 packages that are affected by this, see below. Unfortunately, it is tricky to detect a missing tox configuration directly from %pyproject_buildrequires. For now, I did this by looking for a specific information in tox output, but that might not be stable. I built all Rawhide packages matching %\{?pyproject_buildrequires\s+(.+ \s)?-\S*[te] in a copr with a modified version of %pyproject_buildrequires which fails when this happens. https://copr.fedorainfracloud.org/coprs/churchyard/pyproject- buildrequires-no-tox-error/builds/ For all the failures, I looked into the logs and identified the 95 failures are caused by that (see below). If this affects your package, please consider if your usage of -t/-e for %pyproject_buildrequires is a mistake (and remove it), or see if some explicit build dependencies are missing (and the package only builds by chance). Sometimes, upstreams which use tox don't put their tox configuration into sdist (%pypi_source) and only keep it in git. Sometimes, upstreams don't use tox at all and the usage of -t/-e is wrong. If you have questions, I am happy to help. Maintainers by package: python-archspec orion python-envisage orion Fixed. Thanks - the -t was likely just blindly copied before I understood what it meant. python-pymongo apevec cstratak hhorak jonathanspw orion https://src.fedoraproject.org/rpms/python-pymongo/pull-request/9 -- Orion Poplawski he/him/his - surely the least important thing about me IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ -- ___ 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
Need help with pywt
I'm trying to update pywt to 1.6 or 1.8 here: https://src.fedoraproject.org/rpms/python-pywt/pull-request/6 I'm running into an issue where it seems that I must install the built wheel locally so that I can then build the docs, but I don't know how to do that. When I do that locally it works (network!) but then I get doc build failures as well. TIA, Orion -- Orion Poplawski he/him/his - surely the least important thing about me IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ smime.p7s Description: S/MIME Cryptographic Signature -- ___ 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
Re: Need help with pywt
On 12/19/24 09:25, Miro Hrončok wrote: On 19. 12. 24 16:30, Orion Poplawski via python-devel wrote: I'm trying to update pywt to 1.6 or 1.8 here: https://src.fedoraproject.org/rpms/python-pywt/pull-request/6 I'm running into an issue where it seems that I must install the built wheel locally so that I can then build the docs, but I don't know how to do that. When I do that locally it works (network!) but then I get doc build failures as well. Does moving sphinx-build after %pyproject_install work? With %py3_test_envvars. Something like this https://src.fedoraproject.org/rpms/fontmake/blob/ rawhide/f/fontmake.spec#_92 That works, thanks. I do seem to have a too rigid mindset of "build things go in %build" and "install things go in %install". -- Orion Poplawski he/him/his - surely the least important thing about me IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ smime.p7s Description: S/MIME Cryptographic Signature -- ___ 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