Skip to content

uv installation failure: pyro-ppl test dependency uses non-compliant URL extension #25

Description

@Qazalbash

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"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions