←back to thread

Fun with uv and PEP 723

(www.cottongeeks.com)
640 points deepakjois | 3 comments | | HN request time: 0.408s | source
1. quibono ◴[] No.44371527[source]
Last time I looked at switching from poetry to uv I had an issue with pinning certain dependencies to always install from a private PyPI repository. Is there a way to do that now?

(also: possible there's always been a way and I'm an idiot)

replies(2): >>44371758 #>>44371913 #
2. codethief ◴[] No.44371758[source]
You mean something like https://docs.astral.sh/uv/concepts/indexes/ ?
3. jplumail ◴[] No.44371913[source]
Yes, see: https://docs.astral.sh/uv/concepts/projects/dependencies/#in...