Zanie Blue

Results 2939 comments of Zanie Blue

You can use `file://` in the install mirror.

Can you share verbose logs? i.e. `RUST_LOG=uv=trace uv python install -v 3.12.7` Your uv version needs to support that managed download, so you might just be on a uv version...

3.12.7 was added in https://github.com/astral-sh/uv/pull/7880 which is in uv 0.4.19

Sorry this isn't well documented — yes, we only support the target defined in our [download metadata](https://github.com/astral-sh/uv/blob/f6fd849f2c63e3b319ab03c936beab866dc303ba/crates/uv-python/download-metadata.json). We could probably support more in the future, it's just more complicated.

Basically the reason you can't, is that we generate JSON metadata from GitHub release https://github.com/astral-sh/uv/blob/f6fd849f2c63e3b319ab03c936beab866dc303ba/crates/uv-python/download-metadata.json#L398-L409 then encode it as static Rust code for performance https://github.com/astral-sh/uv/blob/f6fd849f2c63e3b319ab03c936beab866dc303ba/crates/uv-python/src/downloads.inc#L471-L484 then when you ask for...

I think we just adopted the "choose a single build" behavior from Rye's code. I'd love to support other builds (see #8019), though it's probably non-trivial. If you want to...

On my machine, I get something like this if I specify an arbitrary directory: ``` ❯ UV_PYTHON_INSTALL_MIRROR="file:///Users/zb/test" RUST_LOG=uv=trace uv python install -v 3.12.6 DEBUG uv 0.4.18 TRACE Checking lock for...

Similarly: ``` ❯ wget https://github.com/indygreg/python-build-standalone/releases/download/20240909/cpython-3.12.6%2B20240909-aarch64-apple-darwin-install_only_stripped.tar.gz ❯ mkdir 20240909 ❯ mv cpython-3.12.6+20240909-aarch64-apple-darwin-install_only_stripped.tar.gz 20240909 ❯ UV_PYTHON_INSTALL_MIRROR="file:///Users/zb/workspace/uv" RUST_LOG=uv=trace uv python install -v 3.12.6 DEBUG uv 0.4.18 TRACE Checking lock for `/Users/zb/.local/share/uv/python` at `/Users/zb/.local/share/uv/python/.lock`...

That makes sense. We can add more documentation around this.

@guillemc23 sorry this issue is about downloading Python distributions — not index URLs for packages. Could you open a new issue for your question instead?