Skip to content

Running uv pip install 'cryptography @ .' repeatedly doesn't rebuild, even when there are source changes #2152

@alex

Description

@alex
(cryptography) ~/p/cryptography ❯❯❯ uv --version
uv 0.1.13

We have a mixed Python+Rust codebase. Our dev process involves running pip install ., which I'm attempting to migrate to uv pip install 'cryptography @ .'. However, when run the second time, uv doesn't appear to actually rebuild the rust.

Here's an example output:

nox > [2024-03-04 07:19:07,068] uv pip install -c ci-constraints-requirements.txt 'cryptography @ .' -v
 uv::requirements::from_source source=cryptography @ .
 uv::requirements::from_source source=ci-constraints-requirements.txt
    0.000406s DEBUG uv_interpreter::python_environment Found a virtualenv through VIRTUAL_ENV at: /Users/alex_gaynor/projects/cryptography/.nox/local
    0.000534s DEBUG uv_interpreter::interpreter Cached interpreter info for Python 3.12.2, skipping probing: /Users/alex_gaynor/projects/cryptography/.nox/local/bin/python
    0.000547s DEBUG uv::commands::pip_install Using Python 3.12.2 environment at /Users/alex_gaynor/projects/cryptography/.nox/local/bin/python
Audited 1 package in 1ms

If there's any more information I can provide, let me know!

Metadata

Metadata

Assignees

Labels

needs-decisionUndecided if this should be done

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions