-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
tox auto-provisioning not working #2634
Comments
Can't replicate. Can you provide a reproducible here? |
Sadly that's not enough to reproduce 😆 but I see what you mean. |
Alright, now i got it:
If you execute this within an environment that has tox 4.0.2 installed, you will see the error. |
I can reproduce with the following [tox]
requires = numpy
[testenv]
skip_install = true
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
The output is: $ tox
ROOT: will run in automatically provisioned tox, host /tmp/tox-issue/venv/bin/python3 is missing [requires (has)]: numpy
ROOT: provision> .tox/.tox/bin/python -m tox
/tmp/tox-issue/.tox/.tox/bin/python: No module named tox If I remove the $ tox
ROOT: will run in automatically provisioned tox, host /tmp/tox-issue/venv/bin/python3 is missing [requires (has)]: numpy
ROOT: install_deps> python -I -m pip install numpy 'tox>=4.0'
ROOT: provision> .tox/.tox/bin/python -m tox
py: commands[0]> python --version
Python 3.8.10
py: OK (0.15=setup[0.14]+cmd[0.00] seconds)
congratulations :) (0.48 seconds) It seems that it's trying to install |
Issue
When specifying
and running this command with a tox version > 4.0.0, I expect that tox will provision a .tox/.tox directory with a version < 4.0.0.
But the created venv .tox does not get a tox installation. See console.
Environment
OS: Win 10, 64-bit
Python 3.9.13
tox 4.0.2
Output of running tox
Output of
tox -e py39-dev
:The text was updated successfully, but these errors were encountered: