Skip to content

Test error: extras not found for package #325

@mauritsvanrees

Description

@mauritsvanrees

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:

Options:

  • temporarily pin tox<4.36 in the meta workflows
  • add an option to skip the test extra, 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions