From 179efc1ac93789ecf47a1fb6dc8bfb6023981fee Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Tue, 8 Sep 2026 08:56:25 -0400 Subject: [PATCH] build: bump minimum Python to 3.12 per SPEC 0 SPEC 0 recommends dropping Python 3.11 as of 2025 Q4, leaving 3.12 as the minimum supported version. Update requires-python, the version classifiers, the CI test matrix, and the README. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015mPaiFFn5JMme3d9CmxE67 --- .github/workflows/ci.yml | 6 +++--- README.md | 2 +- pyproject.toml | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9f04dc..693fe6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.11", "3.12", "3.13", "3.14" ] + python-version: [ "3.12", "3.13", "3.14" ] defaults: run: shell: bash @@ -134,7 +134,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, windows-latest ] - python-version: [ "3.11", "3.12", "3.13", "3.14" ] + python-version: [ "3.12", "3.13", "3.14" ] defaults: run: shell: bash @@ -189,7 +189,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.11", "3.12", "3.13", "3.14" ] + python-version: [ "3.12", "3.13", "3.14" ] defaults: run: shell: bash diff --git a/README.md b/README.md index 8e05d20..8d6ce26 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ and additional functionality specific to the MODFLOW API. Currently it is a join ## Installation -`modflowapi` requires Python 3.11+, with: +`modflowapi` requires Python 3.12+, with: ```shell numpy diff --git a/pyproject.toml b/pyproject.toml index 054124b..d9b2dfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,13 +25,12 @@ classifiers = [ "Intended Audience :: Science/Research", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering :: Hydrology", ] -requires-python = ">=3.11" +requires-python = ">=3.12" dependencies = [ "numpy>=1.23", "pandas>=2.2.2",