Luis Norambuena@programming.devM to Python@programming.devEnglish · 5 months agouv IS the Future of Python Packaging 🐍📦www.youtube.comexternal-linkmessage-square38fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkuv IS the Future of Python Packaging 🐍📦www.youtube.comLuis Norambuena@programming.devM to Python@programming.devEnglish · 5 months agomessage-square38fedilinkfile-text
minus-squareALERT@sh.itjust.workslinkfedilinkEnglisharrow-up0·5 months agohave there been a lot of them?
minus-squaremonogram@feddit.nllinkfedilinkEnglisharrow-up0·5 months agopipx, poetry, pipsi, fades, pae, pactivate, pyenv, virtualenv, pipenv Let’s hope this next one will be the true standard.
minus-squareonlinepersona@programming.devlinkfedilinkarrow-up0·5 months 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-up0·5 months 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-up0·5 months 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-up0·5 months 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-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-25 months 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.
minus-squaremonogram@feddit.nllinkfedilinkEnglisharrow-up0·5 months agoYou should be using dockers cache mounts https://docs.docker.com/build/cache/optimize/#use-cache-mounts
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up0·5 months agoGood call. We have some other tech debt related to our docker usage, so I’ll add this to the list.
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.
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.
You should be using dockers cache mounts
https://docs.docker.com/build/cache/optimize/#use-cache-mounts
Good call. We have some other tech debt related to our docker usage, so I’ll add this to the list.