From 86aca6cc4b50b0ebe6e5e573e3d4a03ccd126bf9 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 21 May 2026 11:26:48 -0700 Subject: [PATCH] Remove python 3.10 support and update to newer versions of ubuntu and python for workflows PiperOrigin-RevId: 919160421 --- .github/workflows/ci-build.yml | 1 - .readthedocs.yaml | 4 ++-- pyproject.toml | 7 +++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index caf2f8c..97158cf 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -64,7 +64,6 @@ jobs: fail-fast: false matrix: python-version: [ - "3.10", "3.11", "3.12", "3.13", diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 5a58703..e92793b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,9 +6,9 @@ version: 2 build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.11" + python: "3.12" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/pyproject.toml b/pyproject.toml index 6e16448..cf805c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "xee" dynamic = ["version"] description = "A Google Earth Engine extension for Xarray." readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.11" license = {text = "Apache-2.0"} authors = [ {name = "Google LLC", email = "noreply@google.com"}, @@ -17,7 +17,6 @@ classifiers = [ "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -46,7 +45,7 @@ tests = [ dataflow = [ "absl-py", "apache-beam[gcp]", - "gcsfs<=2026.4.0", + "gcsfs<=2026.5.0", "xarray-beam", ] # Keep examples equivalent to dataflow, but avoid self-referential extras @@ -54,7 +53,7 @@ dataflow = [ examples = [ "absl-py", "apache-beam[gcp]", - "gcsfs<=2026.4.0", + "gcsfs<=2026.5.0", "matplotlib", "xarray-beam", ]