Skip to content

Commit 1c78af5

Browse files
authored
Merge pull request #160 from derek73/update-python-version-support
Drop legacy Python support, add 3.12/3.13 to CI matrix
2 parents 759a131 + babfd44 commit 1c78af5

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ 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
2929
run: |
30-
python -m pip install --upgrade pip
30+
python -m pip install --upgrade pip setuptools
3131
python -m pip install twine
3232
python -m pip install sphinx
3333
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi

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)