From 88320fe25b37fc53ec30f1c8f4248d16d9bcae38 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 10:03:05 -0500 Subject: [PATCH] Require Python 3.11 or later Raise requires-python from >=3.10 to >=3.11 and replace the stale 3.7-3.9 classifiers with 3.11, the version the pull request tests run on. Python 3.10 reached end of life on 2026-10-01. Co-Authored-By: Claude Opus 5.5 --- changelog.d/python-311.changed.md | 1 + pyproject.toml | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 changelog.d/python-311.changed.md diff --git a/changelog.d/python-311.changed.md b/changelog.d/python-311.changed.md new file mode 100644 index 0000000..0533728 --- /dev/null +++ b/changelog.d/python-311.changed.md @@ -0,0 +1 @@ +Require Python 3.11 or later. diff --git a/pyproject.toml b/pyproject.toml index fba4067..4e68e47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,15 +6,13 @@ readme = "README.md" authors = [ { name = "PolicyEngine", email = "hello@policyengine.org" } ] -requires-python = ">=3.10" +requires-python = ">=3.11" classifiers = [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering :: Information Analysis", ] dependencies = [