From f6e20937a4da538fbd121f243dae3972ebf82bbf Mon Sep 17 00:00:00 2001 From: Jan Bednarik Date: Tue, 20 Oct 2026 06:11:36 -0700 Subject: [PATCH] As Python 3.10 is reaching end of life, update the requirement to Python 3.12 or newer for the GNM Shape repo and its linting workflow. PiperOrigin-RevId: 1003050137 --- .github/workflows/lint.yml | 4 ++-- gnm/shape/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5f14d8e4..b893b87f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -35,10 +35,10 @@ jobs: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # ratchet:actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" cache: "pip" - name: Install gnm-shape package and linting dependencies diff --git a/gnm/shape/pyproject.toml b/gnm/shape/pyproject.toml index fa7708c0..4f97739d 100644 --- a/gnm/shape/pyproject.toml +++ b/gnm/shape/pyproject.toml @@ -21,9 +21,9 @@ name = "gnm-shape" version = "3.0.0" description = "GNM Shape Library" readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.12" license = {text = "Apache-2.0"} -dependencies = [ +dependencies = [ "absl-py", "etils", "imageio",