Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
Description
Using .python-version like this
to auto-activate enviroments breaks other tools which do not expect this syntax in .python-version, e.g. GitHub setup-python action:
Warning: Neither 'python-version' nor 'python-version-file' inputs were supplied. Attempting to find '.python-version' file.
Resolved .python-version as 3.10.13/envs/virtualenv
Installed versions
Version 3.10.13/envs/virtualenv was not found in the local cache
Error: The version '3.10.13/envs/virtualenv' with architecture 'x64' was not found for Ubuntu 22.04.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
It would be reasonable not to use .python-version for this or at least use some non-breaking syntax (maybe a comment or something?).
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
pyenv-virtualenvplugin only. Please refrain from reporting issues of other plugins here.Description
Using
.python-versionlike thisto auto-activate enviroments breaks other tools which do not expect this syntax in
.python-version, e.g. GitHubsetup-pythonaction:It would be reasonable not to use
.python-versionfor this or at least use some non-breaking syntax (maybe a comment or something?).