35
you are viewing a single comment's thread
view the rest of the comments
[-] eager_eagle@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

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.

[-] beeng@discuss.tchncs.de 3 points 1 month ago

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.

[-] SwordInStone@lemmy.world 2 points 1 month ago

yeah, it works with private pypi

[-] beeng@discuss.tchncs.de 3 points 1 month ago

I don't find it in the docs..how to set my PAT?

[-] sugar_in_your_tea@sh.itjust.works 1 points 1 month ago

Oh cool, I'll definitely look into that.

And honestly, the one I need more is a test group for CI, for things like coverage reporting and whatnot. If I can get that and if having multiple package indexes works properly (i.e. it can check my private repo first, and then pypi), I can probably port our projects to uv, at which point it's an internal discussion instead of a technical one.

this post was submitted on 30 Sep 2024
35 points (83.0% liked)

Python

6375 readers
5 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS