Skip to content

Commit 57825e8

Browse files
authored
docs: note about uv reinstall (#863)
1 parent 57a65d8 commit 57825e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/usage.rst

+5
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ Note that using this option does not change the backend for sessions where ``ven
156156
as ``uv pip`` is used to install programs instead. If you need to manually
157157
interact with pip, you should install it with ``session.install("pip")``.
158158

159+
Also, uv tries very hard to cache, so you might want
160+
``--reinstall-package=<package>`` in your pip install command for the local
161+
package, or preferably set ``tool.uv.reinstall-package`` in your
162+
pyproject.toml/uv.toml.
163+
159164
Backends that could be missing (``uv``, ``conda``, ``mamba``, and ``micromamba``) can have a fallback using ``|``, such as ``uv|virtualenv`` or ``micromamba|mamba|conda``. This will use the first item that is available on the users system.
160165

161166
If you need to check to see which backend was selected, you can access it via

0 commit comments

Comments
 (0)