Luis Norambuena@programming.dev to Python@programming.devEnglish · 21 hours agouv IS the Future of Python Packaging 🐍📦www.youtube.comexternal-linkmessage-square28fedilinkarrow-up130arrow-down16file-text
arrow-up124arrow-down1external-linkuv IS the Future of Python Packaging 🐍📦www.youtube.comLuis Norambuena@programming.dev to Python@programming.devEnglish · 21 hours agomessage-square28fedilinkfile-text
minus-squareALERT@sh.itjust.workslinkfedilinkEnglisharrow-up1·19 hours agohave there been a lot of them?
minus-squaremonogram@feddit.nllinkfedilinkEnglisharrow-up9·19 hours agopipx, poetry, pipsi, fades, pae, pactivate, pyenv, virtualenv, pipenv Let’s hope this next one will be the true standard.
minus-squareonlinepersona@programming.devlinkfedilinkarrow-up1·2 hours agopyenv, virtualenv, pipenv, aren’t package managers… they are virtual environment managers / creators and use pip for package management. Anti Commercial-AI license
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up4·18 hours agoWe’re using poetry and it solves our problems. I’ll have to look into uv, but I don’t feel in any rush to switch away from poetry.
minus-squaredallen@programming.devlinkfedilinkarrow-up4·16 hours agoI’ve been mostly a poetry guy but have tested out uv a bit lately. Two main advantages I see are being able to install Python (I relied on pyenv before) and it’s waaay faster at solving/installing dependencies.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up2·15 hours agoYeah, it certainly looks nice, but my problems are: everything runs in a docker container locally, so I don’t think the caching is going to be a huge win we have a half-dozen teams and a dozen repositories or so, across three time zones, so big changes require a fair amount of effort we just got through porting to poetry to split into dependency groups, and going back to not having that is a tough sell So for me, it needs to at least have feature parity w/ poetry to seriously consider.
minus-squaremonogram@feddit.nllinkfedilinkEnglisharrow-up1·6 hours agoYou should be using dockers cache mounts https://docs.docker.com/build/cache/optimize/#use-cache-mounts
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-212 hours agouv is still faster with a cold cache and uv does have dep groups about the second problem, there’s an issue open on writing a migration guide, but migrating manually is not too difficult.
have there been a lot of them?
pipx, poetry, pipsi, fades, pae, pactivate, pyenv, virtualenv, pipenv
Let’s hope this next one will be the true standard.
pyenv, virtualenv, pipenv, aren’t package managers… they are virtual environment managers / creators and use pip for package management.
Anti Commercial-AI license
We’re using poetry and it solves our problems. I’ll have to look into uv, but I don’t feel in any rush to switch away from poetry.
I’ve been mostly a poetry guy but have tested out uv a bit lately. Two main advantages I see are being able to install Python (I relied on pyenv before) and it’s waaay faster at solving/installing dependencies.
Yeah, it certainly looks nice, but my problems are:
So for me, it needs to at least have feature parity w/ poetry to seriously consider.
You should be using dockers cache mounts
https://docs.docker.com/build/cache/optimize/#use-cache-mounts
uv is still faster with a cold cache
and uv does have dep groups
about the second problem, there’s an issue open on writing a migration guide, but migrating manually is not too difficult.