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-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up5·18 hours 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-212 hours 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·7 hours 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-up1·3 hours agoyeah, it works with private pypi
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up1·3 hours agoI don’t find it in the docs…how to set my PAT?
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?