You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pip install --group test, pytest is successfully installed.
However, when trying to run tox -f test, tox errors out saying
test: failed with dependency group '-pytest' not found
test: FAIL code 1 (0.04 seconds)
evaluation failed :( (0.11 seconds)
This leads me to believe that group names are not always normalized in tox. However, looking at PEP-735 which states "These keys must be valid non-normalized names, and must be normalized before comparisons." and also looking at the reference implementation, it seems they really should be.
Environment
Provide at least:
OS: Linux Mint 21
Output of pip list of the host Python, where tox is installed
A valid name consists only of ASCII letters and numbers, period, underscore and hyphen. It must start and end with a letter or number. [...] with re.IGNORECASE ^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$
But that reproducer also fails with valid names such as dep_pytest.
Issue
Consider this
pyproject.toml
When running
pip install --group test
, pytest is successfully installed.However, when trying to run
tox -f test
, tox errors out sayingThis leads me to believe that group names are not always normalized in tox. However, looking at PEP-735 which states "These keys must be valid non-normalized names, and must be normalized before comparisons." and also looking at the reference implementation, it seems they really should be.
Environment
Provide at least:
Output of
pip list
of the host Python, wheretox
is installedOutput of running tox
Output of
tox -rvv
The text was updated successfully, but these errors were encountered: