Skip to content

Commit

Permalink
docs: note about uv reinstall (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Oct 8, 2024
1 parent 57a65d8 commit 57825e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ Note that using this option does not change the backend for sessions where ``ven
as ``uv pip`` is used to install programs instead. If you need to manually
interact with pip, you should install it with ``session.install("pip")``.

Also, uv tries very hard to cache, so you might want
``--reinstall-package=<package>`` in your pip install command for the local
package, or preferably set ``tool.uv.reinstall-package`` in your
pyproject.toml/uv.toml.

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.

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

0 comments on commit 57825e8

Please sign in to comment.