Luis Norambuena@programming.devM to Python@programming.devEnglish · 2 months agouv IS the Future of Python Packaging 🐍📦www.youtube.comexternal-linkmessage-square39fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkuv IS the Future of Python Packaging 🐍📦www.youtube.comLuis Norambuena@programming.devM to Python@programming.devEnglish · 2 months agomessage-square39fedilinkfile-text
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up0·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-up0·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-up0·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-up0·2 months agoyeah, it works with private pypi
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up0·2 months 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?