Skip to content

Commit

Permalink
docs: add warning about uv and local packages
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed May 19, 2024
1 parent eabad94 commit 6f8904b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nox/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,12 @@ def install(
is no longer supported. If you still want to do that, please
use ``session.run("pip", "install", ...)`` instead.
.. warning::
The ``uv`` backend does not reinstall, even for local packages, so
you need to include ``--reinstall-package <pkg-name>`` (uv-only) if
reusing the environment.
.. _pip: https://pip.readthedocs.org
"""
venv = self._runner.venv
Expand Down

0 comments on commit 6f8904b

Please sign in to comment.