Avatar for the astral-sh user
astral-sh
uv
BlogDocsChangelog

Performance History

Latest Results

Add `--emit-index-url` and `--emit-find-links` to `uv export` (#18370) Closes #10008 ## Summary uv export now supports `--emit-index-url` and `--emit-find-links`, mirroring the equivalent flags on uv pip compile. When `--emit-index-url` is passed, the generated `requirements.txt` will include `--index-url` and `--extra-index-url` directives for indexes configured in `[tool.uv.index]`. Explicit indexes are emitted as global `--extra-index-url` entries so the exported requirements file can reference packages pinned via `[tool.uv.sources]`; because `requirements.txt` cannot represent uv's per-package index pinning semantics, uv warns when explicit indexes are emitted. When `--emit-find-links` is passed, `--find-links` entries are included. Neither is emitted by default, preserving existing behavior. Example output with `--emit-index-url`: ``` # This file was autogenerated by uv via the following command: # uv export --emit-index-url --index-url https://pypi.org/simple --extra-index-url https://download.pytorch.org/whl/cu121 anyio==3.7.0 \ --hash=sha256:... \ ... ``` ## Test Plan - Added `requirements_txt_emit_indexes` to cover default, extra, and explicit indexes alongside `--find-links` - Ran `cargo test --package uv --test it --features test-git export::requirements_txt_emit_indexes -- --exact` - Ran `cargo clippy --package uv --test it --features test-git --locked -- -D warnings` > **NOTE** This is my first time contributing to `uv` and I am also new to Rust to all feedback very welcome --------- Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
main
16 minutes ago
Simplify exported index handling
Bradley-McCallion:fix/10008
36 minutes ago
Emit explicit indexes in uv export
Bradley-McCallion:fix/10008
1 hour ago
Emit explicit indexes in uv export
Bradley-McCallion:fix/10008
1 hour ago
Recognize UV_NO_INSTALL_PROJECT, UV_NO_INSTALL_WORKSPACE, UV_NO_INSTALL_LOCAL
ChrisJr404:feat/uv-no-install-env-vars-19315
2 hours ago
Recognize UV_NO_INSTALL_PROJECT, UV_NO_INSTALL_WORKSPACE, UV_NO_INSTALL_LOCAL
ChrisJr404:feat/uv-no-install-env-vars-19315
3 hours ago

Latest Branches

CodSpeed Performance Gauge
+1%
Add `--emit-index-url` and `--emit-find-links` to `uv export`#18370
46 minutes ago
a5e14fe
Bradley-McCallion:fix/10008
CodSpeed Performance Gauge
-5%
Avert the diffpocalypse#19696
12 hours ago
f98730b
tk/avert-diffpocalypse-filter
CodSpeed Performance Gauge
0%
29 days ago
e507113
ChrisJr404:feat/uv-no-install-env-vars-19315
© 2026 CodSpeed Technology
Home Terms Privacy Docs