diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 0fcc57a..943841a 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -54,9 +54,10 @@ jobs: r-cran-zoo \ -y + # Same `uv` version as pinned in pyproject.toml - name: Install `uv` and `python3.13` run: | - curl -LsSf https://astral.sh/uv/install.sh | sh + curl -LsSf https://astral.sh/uv/0.13.10/install.sh | sh echo "$HOME/.local/bin" >> "$GITHUB_PATH" "$HOME/.local/bin/uv" python install 3.13 diff --git a/pyproject.toml b/pyproject.toml index 1d0993a..402c67a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,8 @@ [build-system] build-backend = "uv_build" -requires = ["uv_build (>=0.12.20,<0.13.0)"] + +requires = ["uv_build (>=0.13.10,<0.14.0)"] # Same range as in "[tool.uv]" below @@ -485,6 +486,8 @@ markers = [ [tool.uv] # Source: https://docs.astral.sh/uv/reference/settings/ +required-version = ">=0.13.10,<0.14.0" # Same range as "uv_build" above + # `uv sync` installs all [dependency-groups] into the local develop environment # whereas the `nox` sessions install only the groups they need default-groups = "all"