From fdb940314cab95c7d340095417f81b4ae5192e7a Mon Sep 17 00:00:00 2001 From: Janne Vanhala Date: Thu, 14 Nov 2024 16:35:29 +0200 Subject: [PATCH] Update the supported Python versions Add support for Python 3.9, 3.10, 3.11 and 3.12. Drop support for Python 3.8 or older. --- .github/workflows/test.yml | 1 - CHANGES.rst | 3 ++- setup.py | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc06575..7c49aa8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,6 @@ jobs: - python: "3.11" - python: "3.10" - python: "3.9" - - python: "3.8" steps: - uses: actions/checkout@v4 diff --git a/CHANGES.rst b/CHANGES.rst index a12b52c..ba83970 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,7 +9,8 @@ UNRELEASED ^^^^^^^^^^ - Drop whitelist argument from email validator (#75, pull request courtesy tvuotila) -- Dropper Python 2.7 support +- Add support for Python 3.9, 3.10, 3.11 and 3.12. +- Drop support for Python 3.8 or older. 0.10.5 (2021-01-17) diff --git a/setup.py b/setup.py index 18e8fc7..2b4fec4 100644 --- a/setup.py +++ b/setup.py @@ -72,15 +72,15 @@ def get_version(): 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ], - python_requires='>=3.4' + python_requires='>=3.9' )