-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
01 type: bugsomething does not worksomething does not work
Description
Running the tests of some packages will since recently fail with something like this:
py313-plone62: failed with extras not found for package plone.intelligenttext: test (available: none)
First seen in plone.autoinclude in the circular dependencies check. Now also in the test, coverage, and circular tox envs in plone.intelligenttext, see GHA in this PR.
Reasons:
tox4.36.0 is out since a few days, and this merged ✨ feat(package): validate extras against package metadata tox-dev/tox#3696, solving old issue Validate extras option in tox.ini tox-dev/tox#1113. If a tox env specifiesextraswhich don't exist, you used to get a warning, but now you get an error.- Most of our packages have a
testextra, and we use this in our standard tox setup, but some not. At leastplone.autoincludeandplone.intelligenttextdon't have it (and don't need it).
Options:
- temporarily pin
tox<4.36in the meta workflows - add an option to skip the
testextra, and set this option in the packages that need it.
Which packages would be affected? I tried it like this in the src directory of 6.2:
$ grep -c extras_require $(grep install_requires */setup.py |cut -d ":" -f1) | grep 0
DateTime/setup.py:0
five.intid/setup.py:0
five.localsitemanager/setup.py:0
Missing/setup.py:0
MultiMapping/setup.py:0
plone.app.locales/setup.py:0
plone.autoinclude/setup.py:0
plone.contentrules/setup.py:0
plone.formwidget.autocomplete/setup.py:0
plone.indexer/setup.py:0
plone.keyring/setup.py:0
Products.ExtendedPathIndex/setup.py:0
Products.ExternalEditor/setup.py:0
Products.PrintingMailHost/setup.py:0
Products.PythonScripts/setup.py:0
Record/setup.py:0
repoze.xmliter/setup.py:0
z3c.batching/setup.py:0
zExceptions/setup.py:0
Some of those are in the zopefoundation. Are they affect too? Yes. I tried zExceptions:
$ toxuv -e py313
...
py313: failed with extras not found for package zExceptions: test (available: none)
So cc @dataflake and @icemac.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
01 type: bugsomething does not worksomething does not work