5 ms·
Right now we're still all-in on pyenv & poetry.. I need to evaluate where this is at in comparison
by cmcconomy 2y ago
Right now we're still all-in on pyenv & poetry.. I need to evaluate where this is at in comparison
- freilanzer 2y agoI have also settled for pyenv and poetry. It works fine so far. If you evaluate Astral, please let me know.
- WillDaSilva 2y agoI've migrated a couple moderately large projects from pyenv & poetry to uv, and it has been great. The switch was easier than I expected. I uninstalled pyenv after a few weeks, as I realized that uv makes it irrelevant. I've also replaced pipx (which manages Python tools/programs each with their own virtual environment) with uv's tool feature. I used uv for every new Python project. The only thing it's missing that's important for me is support by Dependabot on GitHub. Once Dependabot can update its lock files, I'll be able to uninstall poetry.
- mmcnl 2y agoI had some trouble migrating from Poetry to uv because the dependency constraints are different. With Poetry, you can use caret ^ and tilde ~ version constraints. Apparently this is outside the PEP spec so uv doesn't implement it. Understandable, but it does make the migration a bit troublesome at times.
- ohghiZai 2y agoPEP440 and uv support ~= versioning [0], it’s a little different to Poetry’s caret specifier which is outside the spec. [^0] https://peps.python.org/pep-0440/ https://peps.python.org/pep-0440/
- alanwreath 2y agoThat used to be my stack, I’ve found that asdf and poetry fit me better (I dreaded having to set up pyenv and/or it working some of the time). The time saver has also been that I no longer have to keep any other language’s bespoke language version environment switcher in my head as much (goodbye nvm too)
- kstrauser 2y agoThat’s a great combination that I’ve been using up until very recently. If you have it up and running, I don’t see huge benefits in switching to uv today. In contrast, I had to use pipenv recently and I’d forgotten how terrible its UX was. I wanted to upgrade one of the deps in a smallish project and it took 43 seconds to resolve the change. If anyone reading this is using pipenv, switch to uv right now and thank me later.
- colemannerd 2y agoWe've migrated our pyenv poetry application - that's pretty complex with data pipeline flows and apis. The only issue we had was loading .env files - we had done some custom env var scripting as a workaround to an AWS issue and that was hard to migrate over. However, once that was done (and was due to bad implementation initially outside of poetry), moving from poetry to uv was rock solid. No issues and it just worked. I was surprised.
- drcongo 2y agoWe're poetry here too, but pyenv I always had problems with so switched to ASDF which has been rock sold. I tried uv a while back and it was stupidly fast, just need to find the time to switch a ton of projects over.