Installation with UV Error

Hi! I'm having trouble installing prodigy with the uv package installer (uv: Python packaging in Rust).

Here's the specific error:
error: HTTP status client error (422 Unprocessable Entity) for url (https://download.prodi.gy/index/bpemb)

I have the --extra-index-url and my prodigy version in requirements.txt
--extra-index-url https://XXXX-XXXX-XXXX-XXXX@download.prodi.gy/index
prodigy==1.15.3

Anyone have success installing prodigy with uv? uv is miles faster than pip and it would be awesome if I could use it!

Hi @zkl,

I haven't used uv much yet but is seems that --extra-index-url is handled a little bit differently from the way pip does the search. It's defenitely more secure but as per uv docs this means that libraries might not be found for some private indices. Also --extra-index-url is deprecated from uv CLI.

What I found though is that --find-links option does work.
So assuming your requirements.txt looks like this:

-f https://XXXX-XXXX-XXXX-XXXX@download.prodi.gy/index
prodigy==1.15.3

You should be able to install with uv like so:

python -m uv pip install -r requirements.txt

Are there any updates on uv support? Preferably prodigy and be added to pyproject.toml.

Hi @nix411,

You should be able install Prodigy using uv using the --find-links option. --find-links is needed because Prodigy is using custom package index.
You should also be able to define prodigy as a dependency in a pyproject.toml e.g.:

[project]
name = "your-project-name"
version = "0.1.0"
description = "Your project description"
requires-python = ">=3.8"
dependencies = [
    "prodigy"
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["uv/your_project_name"]

[tool.uv]
find-links = ["https://XXXX-XXXX-XXXX-XXXX@download.prodi.gy"]

Running uv pip install -e . should download Prodigy from our download server.
Is there any particular issue you're running into when trying to install Prodigy with uv?