diff --git a/noxfile.py b/noxfile.py index 6be2205..c97e986 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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 `` replaces ``--frozen`` so uv re-resolves + set, ``--resolution `` 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( diff --git a/tasks.toml b/tasks.toml index 3502b8c..3b9bb01 100644 --- a/tasks.toml +++ b/tasks.toml @@ -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