Luis Norambuena@programming.devM to Python@programming.devEnglish · 2 months agouv IS the Future of Python Packaging 🐍📦www.youtube.comexternal-linkmessage-square34fedilinkarrow-up143arrow-down18file-text
arrow-up135arrow-down1external-linkuv IS the Future of Python Packaging 🐍📦www.youtube.comLuis Norambuena@programming.devM to Python@programming.devEnglish · 2 months agomessage-square34fedilinkfile-text
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up6·2 months agoGot toml file support yet? Then I’m happy to talk :)
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up5·2 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-up4·edit-22 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-up3·2 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.
minus-squareSwordInStone@lemmy.worldlinkfedilinkarrow-up2·2 months agoyeah, it works with private pypi
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up3·2 months agoI don’t find it in the docs…how to set my PAT?
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up4·2 months agothey do, just use project management commands like uv + { add, remove, sync, lock, run }
Got toml file support yet? Then I’m happy to talk :)
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.
yeah, it works with private pypi
I don’t find it in the docs…how to set my PAT?
they do, just use project management commands like
uv
+ {add
,remove
,sync
,lock
,run
}