Luis Norambuena@programming.devM to Python@programming.devEnglish · 5 months agouv IS the Future of Python Packaging 🐍📦www.youtube.comexternal-linkmessage-square31fedilinkarrow-up127arrow-down16file-text
arrow-up121arrow-down1external-linkuv IS the Future of Python Packaging 🐍📦www.youtube.comLuis Norambuena@programming.devM to Python@programming.devEnglish · 5 months agomessage-square31fedilinkfile-text
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up5·5 months agoLooks like it has basic support: required-python = "..." dependencies = [ ... ] Once it gets dependency groups, I’ll try it out. I’m currently using poetry, which works, but I’m always interested in better perf.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up3·edit-25 months agoit already has dep groups; e.g. uv add --optional staging pytest then uv sync --extra staging to install / uninstall packages accordingly. They have a --dev shorthand for dev dependencies, but it seems the dependency group PEP is not final, so there isn’t a standardized way of doing this yet.
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up1·5 months agoPrivate PyPI too? We’re coming from poetry but it’s slow and needs its own .venv, so a UV binary would be very nice.
Looks like it has basic support:
required-python = "..."
dependencies = [ ... ]
Once it gets dependency groups, I’ll try it out. I’m currently using
poetry
, which works, but I’m always interested in better perf.it already has dep groups; e.g.
uv add --optional staging pytest
then
uv sync --extra staging
to install / uninstall packages accordingly.
They have a
--dev
shorthand for dev dependencies, but it seems the dependency group PEP is not final, so there isn’t a standardized way of doing this yet.Private PyPI too?
We’re coming from poetry but it’s slow and needs its own .venv, so a UV binary would be very nice.