From b9a7b29609f1069b79b4e3d90ee1221ad467e225 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Sat, 15 Mar 2025 19:42:24 +0100 Subject: [PATCH] chore: prefer uv sync --locked --- .github/CONTRIBUTING.md | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- justfile | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c998d9a..b889bf2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -65,7 +65,7 @@ Here's how to set up `python-re3data` for local development. ```console $ cd python-re3data - $ uv sync --frozen + $ uv sync --locked ``` 4. Create a branch for local development: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 150da57..cb3c01d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ permissions: {} env: PYTHONUNBUFFERED: 1 FORCE_COLOR: 1 - UV_FROZEN: true # do not update the lockfile during `uv sync` and `uv run` commands + UV_LOCKED: true # do not update the lockfile during `uv sync` and `uv run` commands jobs: test: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0451f1..8931e6b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ on: permissions: {} env: - UV_FROZEN: true # do not update the lockfile during `uv sync` and `uv run` commands + UV_LOCKED: true # do not update the lockfile during `uv sync` and `uv run` commands jobs: build: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ee3a42..0da6a1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ permissions: {} env: PYTHONUNBUFFERED: 1 FORCE_COLOR: 1 - UV_FROZEN: true # do not update the lockfile during `uv sync` and `uv run` commands + UV_LOCKED: true # do not update the lockfile during `uv sync` and `uv run` commands jobs: test: diff --git a/justfile b/justfile index 34c14fb..f3c9e99 100644 --- a/justfile +++ b/justfile @@ -6,10 +6,10 @@ _default: @just --list --unsorted sync: - uv sync --frozen + uv sync --locked sync-docs: - uv sync --frozen --group=docs + uv sync --locked --group=docs @project-version: uv run toml get --toml-path pyproject.toml project.version