From df7ae003fc150c61803e877bb0299886a73bf20a Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 19 May 2024 09:45:11 -0400 Subject: [PATCH] docs: add warning about uv and local packages (#830) Signed-off-by: Henry Schreiner --- nox/sessions.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nox/sessions.py b/nox/sessions.py index 4f5d2805..df22f130 100644 --- a/nox/sessions.py +++ b/nox/sessions.py @@ -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 `` (uv-only) if + reusing the environment. + .. _pip: https://pip.readthedocs.org """ venv = self._runner.venv