Skip to content

Commit ec2df69

Browse files
derek73claude
andcommitted
Drop legacy Python support, add 3.12/3.13 to CI matrix
- Set minimum Python version to 3.10 in setup.py (python_requires) - Update CI matrix from 3.7–3.11 to 3.10–3.13 - Remove Python 2 classifier, add 3.10–3.13 classifiers - Bump actions/checkout to v4 and actions/setup-python to v5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 759a131 commit ec2df69

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2121

2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,18 @@ def read(fname):
2121
author = nameparser.__author__,
2222
author_email = nameparser.__author_email__,
2323
license = nameparser.__license__,
24+
python_requires = '>=3.10',
2425
keywords = ['names','parser'],
2526
classifiers = [
2627
'Intended Audience :: Developers',
2728
'Operating System :: OS Independent',
2829
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
2930
'Programming Language :: Python',
30-
'Programming Language :: Python :: 2',
3131
'Programming Language :: Python :: 3',
32+
'Programming Language :: Python :: 3.10',
33+
'Programming Language :: Python :: 3.11',
34+
'Programming Language :: Python :: 3.12',
35+
'Programming Language :: Python :: 3.13',
3236
'Development Status :: 5 - Production/Stable',
3337
'Natural Language :: English',
3438
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)