diff --git a/.github/actions/install-aiida-core/action.yml b/.github/actions/install-aiida-core/action.yml index 00af79913..cf28a3ff8 100644 --- a/.github/actions/install-aiida-core/action.yml +++ b/.github/actions/install-aiida-core/action.yml @@ -33,7 +33,7 @@ runs: - name: Set up uv uses: astral-sh/setup-uv@v5.2.1 with: - version: 0.5.x + version: 0.5.21 python-version: ${{ inputs.python-version }} - name: Install dependencies from uv lock diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5dbb778b8..883774689 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: )$ - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.5.20 + rev: 0.5.21 hooks: # Check and update the uv lockfile - id: uv-lock diff --git a/pyproject.toml b/pyproject.toml index 4ee43b8c0..cf4b575b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -512,4 +512,6 @@ commands = molecule {posargs:test} """ [tool.uv] -required-version = ">=0.5.20" +# NOTE: When you bump the minimum uv version, you also need +# to bump it in .pre-commit-config.yaml and .github/actions/install-aiida-core/action.yml +required-version = ">=0.5.21"