Skip to content

Commit 1e20a09

Browse files
committed
Add support for Python 3.13
- Add Python 3.13 to classifiers in setup.py - Update python_requires to >=3.10 - Update GitHub Actions to test on Python 3.13 Fixes #1264
1 parent d223439 commit 1e20a09

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/code_changes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Python
3535
uses: actions/setup-python@v2
3636
with:
37-
python-version: '3.12'
37+
python-version: '3.13'
3838
- uses: "google-github-actions/auth@v2"
3939
with:
4040
workload_identity_provider: "projects/322898545428/locations/global/workloadIdentityPools/policyengine-research-id-pool/providers/prod-github-provider"

.github/workflows/pr_code_changes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Python
3838
uses: actions/setup-python@v2
3939
with:
40-
python-version: '3.12'
40+
python-version: '3.13'
4141
- uses: "google-github-actions/auth@v2"
4242
with:
4343
workload_identity_provider: "projects/322898545428/locations/global/workloadIdentityPools/policyengine-research-id-pool/providers/prod-github-provider"

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
added:
4+
- Support for Python 3.13

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"License :: OSI Approved :: GNU Affero General Public License v3",
1313
"Operating System :: POSIX",
1414
"Programming Language :: Python",
15+
"Programming Language :: Python :: 3.10",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1519
"Topic :: Scientific/Engineering :: Information Analysis",
1620
],
1721
description="PolicyEngine tax and benefit system for the UK",
@@ -46,8 +50,7 @@
4650
"snowballstemmer>=2,<3",
4751
]
4852
},
49-
# Windows CI requires Python 3.9.
50-
python_requires=">=3.7",
53+
python_requires=">=3.10",
5154
entry_points={
5255
"console_scripts": [],
5356
},

0 commit comments

Comments
 (0)