articles/2024/python-poetry-vs-uv/ #15
Replies: 1 comment 2 replies
-
I appreciate the article, and I share your sentiment. I don't feel that uv is quite ready to replace poetry in my workflows yet. However, something caught my attention when you were suggesting that you can replace pyenv with uv. I've managed to do this, and there's a step that's very useful for getting poetry to use a python version installed via uv. I do not set a local version of python to create the Instead, I initialize the virtual environment that poetry uses with a python version installed by uv. You can do that with one command using: poetry env use $(uv python find 3.12) You can, of course change the python version to whichever you prefer as long as it's installed on your system and uv can detect it. After that, it's simply a matter of running Cheers! |
Beta Was this translation helpful? Give feedback.
-
articles/2024/python-poetry-vs-uv/
Comparing two Python package managers: Poetry and new kid on the block uv.
https://www.loopwerk.io/articles/2024/python-poetry-vs-uv/
Beta Was this translation helpful? Give feedback.
All reactions