Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ def _setup_venv(session: nox.Session, all_extras: bool = True, resolution: str |
session: The nox session
all_extras: Whether to install all extras
resolution: Optional uv resolution strategy (e.g. ``"lowest-direct"``). When
set, ``--resolution <value>`` replaces ``--frozen`` so uv re-resolves
set, ``--resolution <value>`` replaces ``--locked`` so uv re-resolves
rather than using the lockfile.
"""
args = ["uv", "sync", "--resolution", resolution] if resolution else ["uv", "sync", "--frozen"]
args = ["uv", "sync", "--resolution", resolution] if resolution else ["uv", "sync", "--locked"]
if all_extras:
args.append("--all-extras")
session.run_install(
Expand Down
2 changes: 1 addition & 1 deletion tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ description = "Install dev dependencies and pre-commit hooks"
run = """
uv tool install keyring==25.7.0 --with keyrings.google-artifactregistry-auth==1.1.2
if [ -f uv.lock ]; then
uv sync --all-extras --frozen
uv sync --all-extras --locked
else
uv sync --all-extras
fi
Expand Down
Loading