uv
uv copied to clipboard
Feature request: add annotation for dependency artifact URL
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