Skip to content

📝 docs(usage): name the TOML section in the override example - #4464

Merged
gaborbernat merged 3 commits into
tox-dev:mainfrom
JROtto5:docs/override-env-section
Nov 28, 2026
Merged

gaborbernat merged 3 commits into
tox-dev:mainfrom
JROtto5:docs/override-env-section

Conversation

@JROtto5

@JROtto5 JROtto5 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The override how-to used the tox.ini spelling testenv:3.13.package=editable, which a tox.toml or pyproject.toml project silently ignores:

$ tox c -e 3.13 -k package -x "testenv:3.13.package=editable"   # tox.toml
package = wheel

The example now shows env.3.13. (tox.toml), tool.tox.env.3.13. (pyproject.toml) and testenv:3.13. (tox.ini).

@JROtto5

JROtto5 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

The failing test (test_provision_requirement_entry_cannot_change_lines[line-break]) is unrelated to this docs change. packaging 26.4, released 2026-11-23 21:44 UTC, now rejects plug @ file:///tmp/plug.whl#\n--find-links=/tmp/other inside Requirement() itself ("Expected whitespace after URL"), so tox's own check is never reached. The last green run on main was before that release.

I have a small test fix (build the Requirement first, then append the suffix to req.url) and can send it as a separate PR if you'd like.

A section the file lacks still takes overrides; spelling it for another
file format is what makes tox ignore them.
@gaborbernat
gaborbernat merged commit cb71b08 into tox-dev:main Nov 28, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants