Skip to content

Installing / reading metadata of workspace members from wheels #17063

@ktns

Description

@ktns

Summary

Hello.

When running CI jobs or the renovate bot, even when the job simply calls uv lock, a significant amount of time is spent compiling Rust bindings within the workspace. Since our private registry contains pre-built wheel files, it would be extremely useful if we could make the switch from always building the workspace members to installing them from wheel files, and also reading metadata from wheel files during package dependency resolution.

Example

uv sync --install-from-wheel=./dist/foo-0.4.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

and

uv lock --read-from-wheel=./dist/foo-0.4.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

I don't like these option names but didn't come up with better ones.

It's very useful if we can specify a specific index to download wheels, but I couldn't think of clean UI for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions