tox icon indicating copy to clipboard operation
tox copied to clipboard

Env name with dot in TOML config

Open ghost opened this issue 4 months ago • 0 comments

Issue

Here is a sample pyproject.toml.

[tool.tox.env."py3.11"]
description = "tox test"

I would expect the output from tox list to include the line py3.11 -> tox test. Instead, the line is py3.11 -> [no description]. This problem seems to be caused by the dot in "py3.11".

Environment

Output of pip list of the host Python, where tox is installed
Package       Version
------------- -------
cachetools    6.1.0
chardet       5.2.0
colorama      0.4.6
distlib       0.4.0
filelock      3.19.1
packaging     25.0
pip           25.2
platformdirs  4.3.8
pluggy        1.6.0
pyproject-api 1.9.1
setuptools    68.2.2
tox           4.28.4
virtualenv    20.34.0

Minimal example

See above.

ghost avatar Aug 22 '25 14:08 ghost