Skip to content

support for tox with dotted env #38

Description

@gpongelli

as per comment , I'm opening a new issue regarding TOX env with dot inside:

[tox:tox]
isolated_build = true
envlist = lint, format, py3.8, py3.9, py3.10, py3.11, build

looking at the code, a new elif branch should be put here, something like:

    elif env.startswith('py') and '.' in env:
        return Version.from_string(f'{env[2]}.{env[4:]}')

next week I could start a PR on this topic.

Activity

  1. changed the title [-]support for tax with dotted env[/-] [+]support for tox with dotted env[/+] on Jan 28, 2023
  2. added
    help wantedExtra attention is needed
    bugSomething isn't working
    on Feb 2, 2023
  3. mgedmin commented on Apr 14, 2026

    @mgedmin
    Owner

    I've committed partial support for this while working on a fix for issue #50, but the code in git doesn't currently try to preserve the spelling of the tox environment names, so if you have an envlist = py3.12, py3.13 and run something like check-python-versions --add 3.14, you might end up with envlist = py3.12, py3.13, py314.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions