Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression with factor support and non-existing env #243

Closed
pytoxbot opened this issue Sep 17, 2016 · 4 comments
Closed

Regression with factor support and non-existing env #243

pytoxbot opened this issue Sep 17, 2016 · 4 comments

Comments

@pytoxbot
Copy link

There's a regression with factor support, which will happily run a non-existing
env, if there are envs with that prefix:

% tox -e checkqa
GLOB sdist-make: …/pytest-django/setup.py
checkqa create: …/pytest-django/.tox/checkqa
checkqa inst: …/pytest-django/.tox/dist/pytest-django-2.8.0.zip
checkqa runtests: PYTHONHASHSEED='1593817085'
________________________________________________________________________________ summary ________________________________________________________________________________
  checkqa: commands succeeded
  congratulations :)

However, "checkqa" does not exist, but only multiple "checkqa-pythonX.X" envs.

This is with pytest-django's tox.ini (https://raw.githubusercontent.com/pytest-dev/pytest-django/master/tox.ini).

@obestwalter
Copy link
Member

@blueyed this issue is quite old. Do you know if this has been fixed in the meantime?

@obestwalter obestwalter added the bug label Dec 4, 2016
@blueyed
Copy link

blueyed commented Dec 4, 2016

@obestwalter
Thanks for looking into this.

It seems to be fixed.
With the following tox.ini, tox -e checkqa says ERROR: unknown environment 'checkqa':

[tox]
envlist =
 - checkqa-py{27,35}

[testenv]
commands =
  echo 1

So please close the issue.

@obestwalter
Copy link
Member

@blueyed thanks for the update - gladly closing it :)

@blueyed
Copy link

blueyed commented Dec 6, 2016

@obestwalter
Thanks for triaging those issues, much appreciated!

@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants