Skip to content

Commit

Permalink
docs: add warning about uv and local packages (#830)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored May 19, 2024
1 parent a6e1a4e commit df7ae00
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 df7ae00

Please sign in to comment.