mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 22:07:47 +00:00
![]() ## Summary This PR re-introduces caching for source trees. In short, we treat the metadata as cached unless the `pyproject.toml`, `setup.py`, or `setup.cfg` file changes. This is a heuristic and not a good one, especially for extension modules, but without it, we have to rebuild every project every time (unless you have static metadata, like a `pyproject.toml` that we can read directly). Now that we support persistent configuration, users should add: ```toml [tool.uv] reinstall = ["foo"] ``` If they want a package to always be refreshed (ignore cache) and reinstalled (ignore environment). Closes https://github.com/astral-sh/uv/issues/5420. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |