On 05. 02. 25 10:47, Miro Hrončok 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).
FWIW The following subset of packages also uses %tox, which most likely runs no
tests (and succeeds):
Maintainers by package:
hddfancontrol filiperosset
mkdocs dcavalca smani
patool eclipseo
pykka girst
python-cmd2 fab jcapitao ktdreyer
python-diff-match-patch amigadave
python-influxdb-client fedepell stevetraylen
python-mailman-web salimma
python-migen somlo
python-nine ondrejj
python-paginate dcavalca
python-pymongo apevec cstratak hhorak jonathanspw orion
python-ssdp fab
python-telnetlib3 dcavalca
python-timeout-decorator jcapitao
python-tinydb petersen suanand
python-warlock apevec jcapitao mrunge
python-xlrd ondrejj pingou
syncstar t0xic0der
vapoursynth slaanesh
Packages by maintainer:
amigadave python-diff-match-patch
apevec python-pymongo python-warlock
cstratak python-pymongo
dcavalca mkdocs python-paginate python-telnetlib3
eclipseo patool
fab python-cmd2 python-ssdp
fedepell python-influxdb-client
filiperosset hddfancontrol
girst pykka
hhorak python-pymongo
jcapitao python-cmd2 python-timeout-decorator python-warlock
jonathanspw python-pymongo
ktdreyer python-cmd2
mrunge python-warlock
ondrejj python-nine python-xlrd
orion python-pymongo
petersen python-tinydb
pingou python-xlrd
salimma python-mailman-web
slaanesh vapoursynth
smani mkdocs
somlo python-migen
stevetraylen python-influxdb-client
suanand python-tinydb
t0xic0der syncstar
--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
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