Skip to content

Use uv automatically when running maturin develop inside a uv-created venv #2432

@messense

Description

@messense
$ cat .venv/pyvenv.cfg
home = /opt/homebrew/opt/python@3.13/bin
implementation = CPython
uv = 0.5.15
version_info = 3.13.1
include-system-site-packages = false

we should be able to detect that uv should be used because the venv probably won't have pip installed unless it was created with uv venv --seed:

$ cat .venv/pyvenv.cfg
home = /opt/homebrew/opt/python@3.13/bin
implementation = CPython
uv = 0.5.15
version_info = 3.13.1
include-system-site-packages = false
seed = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions