We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E.g., notice that the "Updated" portion appears twice here:
❯ uv pip install git+https://github.com/tiangolo/fastapi Updated https://github.com/tiangolo/fastapi (8bfed9a) Updated https://github.com/tiangolo/fastapi (8bfed9a) Resolved 9 packages in 868ms Built fastapi @ git+https://github.com/tiangolo/fastapi@8bfed9aee2401a937bc38f336Downloaded 4 packages in 280ms Installed 7 packages in 3ms + annotated-types==0.6.0 + anyio==4.3.0 + fastapi==0.110.0 (from git+https://github.com/tiangolo/fastapi@8bfed9aee2401a937bc38f336cddd903722c5286) + pydantic==2.6.4 + pydantic-core==2.16.3 + starlette==0.36.3 + typing-extensions==4.10.0
The text was updated successfully, but these errors were encountered:
The behavior is ultimately correct, we should just avoid the second lookup.
Sorry, something went wrong.
Add an in-memory cache for Git references (#2682)
ffd78d0
## Summary Ensures that, even if we try to resolve the same Git reference twice within an invocation, it always returns a (cached) consistent result. Closes #2673. ## Test Plan ``` ❯ cargo run pip install git+https://github.com/pallets/flask.git --reinstall --no-cache Compiling uv-distribution v0.0.1 (/Users/crmarsh/workspace/uv/crates/uv-distribution) Compiling uv-resolver v0.0.1 (/Users/crmarsh/workspace/uv/crates/uv-resolver) Compiling uv-installer v0.0.1 (/Users/crmarsh/workspace/uv/crates/uv-installer) Compiling uv-dispatch v0.0.1 (/Users/crmarsh/workspace/uv/crates/uv-dispatch) Compiling uv-requirements v0.1.0 (/Users/crmarsh/workspace/uv/crates/uv-requirements) Compiling uv v0.1.24 (/Users/crmarsh/workspace/uv/crates/uv) Finished dev [unoptimized + debuginfo] target(s) in 3.95s Running `target/debug/uv pip install 'git+https://github.com/pallets/flask.git' --reinstall --no-cache` Updated https://github.com/pallets/flask.git (b90a4f1) Resolved 7 packages in 280ms Built flask @ git+https://github.com/pallets/flask.git@b90a4f1f4a370e92054b9cc9db0efcb864f87ebe Downloaded 7 packages in 212ms Installed 7 packages in 9ms ```
charliermarsh
Successfully merging a pull request may close this issue.
E.g., notice that the "Updated" portion appears twice here:
The text was updated successfully, but these errors were encountered: