Skip to content

Commit df7ae00

Browse files
authored
docs: add warning about uv and local packages (#830)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent a6e1a4e commit df7ae00

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

nox/sessions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,12 @@ def install(
750750
is no longer supported. If you still want to do that, please
751751
use ``session.run("pip", "install", ...)`` instead.
752752
753+
.. warning::
754+
755+
The ``uv`` backend does not reinstall, even for local packages, so
756+
you need to include ``--reinstall-package <pkg-name>`` (uv-only) if
757+
reusing the environment.
758+
753759
.. _pip: https://pip.readthedocs.org
754760
"""
755761
venv = self._runner.venv

0 commit comments

Comments
 (0)