From 6f8904b626842da0b016a9abd660e3a86c6de4aa Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 19 May 2024 00:29:36 -0400 Subject: [PATCH] docs: add warning about uv and local packages 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