I have a poetry based Django project using Python 3.10.2. I would like to upgrade the project to use Python 3.11.0.
What is the proper way to do that?
Should I nuke poetry.lock then update the pyproject.toml to
[tool.poetry.dependencies]
python = "^3.11"
The ability to easily upgrade to newer versions of Python seems like it should be a core feature but I don't see a command to automate the process.
try:
poetry env use python3.11.0
or the full path to that python version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With