Skip to content

basepython + shared envdir + default environments = confusion #477

@obestwalter

Description

@obestwalter

This came up in #425:

tox.ini

[tox]
envlist = py36,py27
[testenv]
basepython=python3.6
envdir = {toxworkdir}/sharedenvdir
commands = python --version

Leads to the py27 environment also be run with python3.6 which is very likely not intended by the user and a mistake in the configuration.

This might lead to unnecessary confusion and I wonder if we should catch that and throw an appropriate error, when we encounter configurations like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationfeature:changesomething exists already but should behave differentlylevel:mediumrought estimate that this might be neither easy nor hard to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions