From 2cffbe35cfed425f097eb44a4ebe23acb64d5511 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 11:16:47 -0500 Subject: [PATCH] Require Python 3.11+ Python 3.10 reached end of life on 2026-10-01. Raise requires-python to >=3.11 and drop the stale 3.7, 3.8 and 3.9 classifiers. Co-Authored-By: Claude Opus 5.5 --- changelog.d/python-311-support.changed.md | 1 + pyproject.toml | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 changelog.d/python-311-support.changed.md diff --git a/changelog.d/python-311-support.changed.md b/changelog.d/python-311-support.changed.md new file mode 100644 index 0000000..0533728 --- /dev/null +++ b/changelog.d/python-311-support.changed.md @@ -0,0 +1 @@ +Require Python 3.11 or later. diff --git a/pyproject.toml b/pyproject.toml index 16e21c2..a948652 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,15 +6,12 @@ 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", "Topic :: Scientific/Engineering :: Information Analysis", ] dependencies = [