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

Bad Requested Python version (X.Y) not installed output #692

Closed
jurko-gospodnetic opened this issue Dec 1, 2017 · 2 comments
Closed

Bad Requested Python version (X.Y) not installed output #692

jurko-gospodnetic opened this issue Dec 1, 2017 · 2 comments
Assignees
Labels
area:testenv-creation bug:minor does not affect many people or has no big impact level:medium rought estimate that this might be neither easy nor hard to implement

Comments

@jurko-gospodnetic
Copy link

When running tox (at least on Windows) and there is and there is a test environment defined in the tox configuration file for which a suitable Python interpreter version is not installed on the system, tox output incudes stderr output like Requested Python version (X.Y) not installed.

The error described above occurs even when just running tox with the --help command-line option, and even if explicitly requesting a different test environment using the -e command-line option.

For example, when running tox --help with the current tox master (20215c1) with only Python 2.7 & 3.6 installed, I get the following output:

(venv) D:\Workplace\Open-source\Python tox>tox --help
Requested Python version (3.4) not installed
Requested Python version (3.5) not installed
usage: tox [--version] [-h] [--help-ini] [-v] [--showconfig] [-l] [-a]
           [-c CONFIGFILE] [-e envlist] [--notest] [--sdistonly]
           [--installpkg PATH] [--develop] [-i URL] [--pre] [-r]
           [--result-json PATH] [--hashseed SEED] [--force-dep REQ]
           [--sitepackages] [--alwayscopy] [--skip-missing-interpreters]
           [--workdir PATH]
           [args [args ...]]
...
@jurko-gospodnetic
Copy link
Author

Pull request #686 added to address the issue.

@gaborbernat gaborbernat added area:testenv-creation bug:minor does not affect many people or has no big impact level:medium rought estimate that this might be neither easy nor hard to implement labels Dec 5, 2017
@gaborbernat
Copy link
Member

Resolved by #686

@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
area:testenv-creation bug:minor does not affect many people or has no big impact level:medium rought estimate that this might be neither easy nor hard to implement
Projects
None yet
Development

No branches or pull requests

2 participants