From 99e7a4e17e986ff7d44f1083c70b69d293bc2c4a Mon Sep 17 00:00:00 2001 From: Nathan McDougall Date: Thu, 29 Oct 2026 15:28:12 +1300 Subject: [PATCH] Move Python to 3.13.18 and uv to 0.13.6 3.13.17 still trusts the compromised eMudhra intermediate CA keys; 3.13.18 is the patched release listed on https://emudhra.we-have-a-problem.com/. uv 0.13.5 and older cannot install 3.13.18, so the uv floors and pins move to 0.13.6. Set check-latest on actions/setup-python so the runner downloads the patched release instead of using an older cached one. --- .copier-answers.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 3 ++- .pre-commit-config.yaml | 14 +++++++------- .python-version | 2 +- pyproject.toml | 2 +- tasks/scripts/install_backend.sh | 2 +- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index f375840..a9a02b7 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -13,5 +13,5 @@ max_line_length: '88' name_slug: geopins project_name: geopins project_short_description: Geospatial Raster datatype library for Python. -py_version: 3.13.17 +py_version: 3.13.18 tt_job_num: YYYTTNZ.0700 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31bbd40..aa83db7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1 with: - version: "0.13.5" # Sync with pyproject.toml + version: "0.13.6" # Sync with pyproject.toml enable-cache: true - name: Setup Python diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a0eb10..e14324c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,13 +21,14 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@3b9817b1bf26186f03ab8277bab9b827ea5cc254 # v3.2.0 with: - version: "0.13.5" # Sync with pyproject.toml + version: "0.13.6" # Sync with pyproject.toml enable-cache: false - name: "Set up Python" uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: 3.13 + check-latest: true - name: Release run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fac23a..93d3874 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: entry: uv lock --offline files: ^(uv\.lock|pyproject\.toml|uv\.toml)$ additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python always_run: true pass_filenames: false @@ -40,7 +40,7 @@ repos: entry: uv sync --no-active --offline args: [--locked] additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python always_run: true pass_filenames: false @@ -52,7 +52,7 @@ repos: entry: uv export --frozen --offline --quiet --no-default-groups -o="requirements.txt" additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python pass_filenames: false require_serial: true @@ -76,7 +76,7 @@ repos: entry: uv run --frozen --offline ruff format --force-exclude types_or: [python, pyi, jupyter] additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python pass_filenames: false - id: ruff-check @@ -86,7 +86,7 @@ repos: --ignore "FIX" types_or: [python, pyi, jupyter] additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python pass_filenames: false @@ -106,7 +106,7 @@ repos: name: nbstripout entry: uv run --frozen --offline nbstripout additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python files: .*\.(ipynb)$ exclude: .*\.(example|template|keepoutput|)\.ipynb$ @@ -117,7 +117,7 @@ repos: name: deptry entry: uv run --frozen --offline deptry src additional_dependencies: - - uv==0.13.5 + - uv==0.13.6 language: python always_run: true pass_filenames: false diff --git a/.python-version b/.python-version index 67d7dc5..844fbc4 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.13.17 +3.13.18 diff --git a/pyproject.toml b/pyproject.toml index a55c1b0..7f20b96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -239,7 +239,7 @@ output = "test-reports/coverage.xml" [tool.uv] default-groups = [ "dev", "test", "doc" ] constraint-dependencies = [ "certifi>=2026.10.19" ] -required-version = ">=0.13.5" # sync with .pre-commit-config.yaml and release.yml +required-version = ">=0.13.6" # sync with .pre-commit-config.yaml and release.yml link-mode = "symlink" [tool.importlinter] diff --git a/tasks/scripts/install_backend.sh b/tasks/scripts/install_backend.sh index 5f09435..bc9619c 100644 --- a/tasks/scripts/install_backend.sh +++ b/tasks/scripts/install_backend.sh @@ -8,7 +8,7 @@ if [ ! -d ".git" ]; then fi # Ideally remove this duplication via https://github.com/astral-sh/uv/issues/10547 -uv_version="0.13.5" # Sync with .pre-commit-config.yaml and pyproject.toml +uv_version="0.13.6" # Sync with .pre-commit-config.yaml and pyproject.toml export PATH="$PATH:$HOME/.local/bin" # Legacy install support < v0.5.0