When attempting to install pyro-api using uv, the process fails during metadata parsing. This is because uv requires direct URL dependencies to have a supported file extension (e.g., .tar.gz, .zip).
The current setup.py points to a GitHub API tarball endpoint, which lacks an extension: https://api.github.com/repos/pyro-ppl/pyro/tarball/dev
You can reproduce it as,
uv pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
error: Failed to parse metadata from built wheel
Caused by: Expected direct URL (`https://api.github.com/repos/pyro-ppl/pyro/tarball/dev`) to end in a supported file extension: `.whl`, `.tar.gz`, `.zip`, `.tar.bz2`, `.tar.lz`, `.tar.lzma`, `.tar.xz`, `.tar.zst`, `.tar`, `.tbz`, `.tgz`, `.tlz`, or `.txz`
pyro-ppl @ https://api.github.com/repos/pyro-ppl/pyro/tarball/dev ; extra == "test"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When attempting to install
pyro-apiusinguv, the process fails during metadata parsing. This is becauseuvrequires direct URL dependencies to have a supported file extension (e.g.,.tar.gz,.zip).The current
setup.pypoints to a GitHub API tarball endpoint, which lacks an extension:https://api.github.com/repos/pyro-ppl/pyro/tarball/devYou can reproduce it as,