Choose the host Python version used when running poetry installed with 'get-poetry.py'
See original GitHub issueFollow up to this issue:
Since #2683 a EOL warning message is displayed when poetry runs under a Python interpreter that has reached its end of life (EOL), for example Python 2.7, and 3.5. Fair enough. But when using a poetry installation initiated with get-poetry.py
it does not seem possible to control which Python interpreter is being used. Which leads to the EOL warning message being legitimately displayed but there is no straightforward way for the user to switch to a different Python version. It is not reasonable to expect from the users that they uninstall the older Python interpreters.
Related
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (4 by maintainers)
Top Results From Across the Web
Announcing Poetry 1.2.0 | Blog
Poetry 1.2 drops runtime support for Python 2.7, 3.5 and 3.6. Running Poetry on these versions is now untested and unsupported. Note. This ......
Read more >poetry - PyPI
Poetry : Python packaging and dependency management made easy. Stable Version Pre-release Version Python Versions Download Stats Discord.
Read more >Integrating Python Poetry with Docker - Stack Overflow
So, I use pip install 'poetry==$POETRY_VERSION' . As you can see, I still recommend to pin your version. Also, pin this version in...
Read more >How to Set Up Python and Poetry
Once pyenv is installed, you can choose between any Python versions to install as simple as in ... .com/python-poetry/poetry/master/get-poetry.py | python -.
Read more >A Guide to Python Environment, Dependency and Package ...
You can install conda packages by running conda install package_name in your ... .com/python-poetry/poetry/master/get-poetry.py | python -.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sinoroc Yeah, I’m more of discussing this because the ergonomics around it don’t make sense to me and I would like to start recommending people use Poetry over things like pip and pipenv. So even though I know how to work around this flaw, I don’t believe its safe to recommend use of the software when it’ll be something MAJORITY of users hit.
Most systems aren’t defaulting to python3 for “python” and having to work around it is a weird limitation with many easy fixes.
The
get-poetry.py
script is now deprecated in favor ofinstall-poetry.py
, which will bind poetry to the python version it was installed with. See https://python-poetry.org/blog/announcing-poetry-1.2.0a1/#deprecation-of-the-get-poetrypy-scriptAs a downside the “pyenv workflow” no longer works.