Skip to content

Unerstand "min_version = 4.0" from tox 3 or use "minversion = 4.0" in tox 4 documentation #2661

@hroncok

Description

@hroncok

What's the problem this feature will solve?

Considering a new project follows the current documentation and they set:

[tox]
min_version = 4.0

When this is read by tox3, it is ignored, because tox3 only reads minversion, not min_version.
A project maintainer that knows this will adjust the config as follows:

[tox]
minversion = 4.0

This is respected by both tox3 and tox4, and hence it works.

However, a project maintainer who does not know this and tries to follow the documentation will be confused.

Describe the solution you'd like / Alternative Solutions

Either tox3 needs to be updated to also read min_version (this will work but only for users who have the latest version of tox3)
or the documentation needs to be updated to use minversion in the initial examples.

Users following the documentation for tox4 should be guided to create config files where the minial tox version requirement is respected in tox3 and tox4 both.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions