-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
In poetry 1.8.2, even when I run the poetry self update
command, only the VERSION is not updated.
#9329
Comments
poetry self update
command, only the VERSION is not updated.
This is probably 1.8.2
|
but VERSION file is the application itself, it shouldn't show the poetry version, I guess |
Same here got poetry 1.8.2 and VERSION file seems to be stuck at 1.5.1 (maybe this file is correlated to something else maybe it has been deprecated, maybe something else). Regarding your question: I am not sure to understand it very well but if you want poetry to use the python defined by pyenv you can set |
This file is probably used when uninstalling poetry. I just ran the uninstall script and it echoed Removing Poetry (1.5.1) which was not the version of my poetry but actually the content of the VERSION file. Not a big deal but still a good thing to let the core team know this. |
Looks like the file is created/used only by the install script. Afaik Poetry itself does not know anything about a I think there are two options:
Workaround: Use the install script to update Poetry instead of |
Description
After executing the above command, only the VERSION is not updated.
Also, I have a related question. Originally, I was having trouble with the pyenv version not updating even when I ran the poetry new command. During my investigation, I found that editing the pyvenv.cfg file might allow me to use the desired Python version. However, I was wondering if it is possible to do something like poetry new --python-version 3.12 or --python-path /path/to/python to specify the Python version or path directly when creating a new project?
Workarounds
no.
Poetry Installation Method
install.python-poetry.org
Operating System
Mac OS
Poetry Version
1.8.2
Poetry Configuration
The text was updated successfully, but these errors were encountered: