Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add annotation for dependency artifact URL #3034

Open
vlad-ivanov-name opened this issue Apr 15, 2024 · 0 comments
Open

Feature request: add annotation for dependency artifact URL #3034

vlad-ivanov-name opened this issue Apr 15, 2024 · 0 comments
Labels
wish Not required for milestone; nice-to-have

Comments

@vlad-ivanov-name
Copy link

It would be good to be able to add URL to the compiled requirement files:

uv pip compile --emit-url-annotation ...
zipp==3.15.0
    # via importlib-metadata
    # from https://pypi.org/simple
    # url https://files.pythonhosted.org/packages/5b/fa/c9e82bbe1af6266adf08afb563905eb87cab83fde00a0a08963510621047/zipp-3.15.0-py3-none-any.whl

Use case

For certain systems consuming compiled requirement files, such as e. g. some nix setups, it would be much easier if files could be fetched directly from URL, as opposed to actually needing to support registry semantics

Caveats

Maybe there are some package registries that don't have deterministic URLs? Not aware of any atm

@charliermarsh charliermarsh added the wish Not required for milestone; nice-to-have label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wish Not required for milestone; nice-to-have
Projects
None yet
Development

No branches or pull requests

2 participants