-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: Windows 10
- Poetry version: 0.12.2
Issue
I found it confusing when my pyproject.toml file says python = "3" and yet a Python 2.7 venv was being created.
I then noticed
The created virtualenv will use the Python executable for which poetry has been installed.
on https://poetry.eustace.io/docs/basic-usage/
I assumed it was using the version of python I ran get-poetry with. I tried again with python3 and still no luck.
It seems its just hard coded in poetry.bat as python and for me to change, I need to change that file.
To me, the ideal thing would be to a way to get arbitrary versions of python, like tox, and allow it to be configured on a per-project basis (like as a dev-dependency).
Workround
Edit poetry.bat to change what python gets invoked.
butla, abogoyavlensky, pawamoy, patarapolw, jxub and 19 more
Metadata
Metadata
Assignees
Labels
No labels