Skip to content

Commit a5d579f

Browse files
Support Python 3.13
1 parent 816c998 commit a5d579f

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
run: |
8282
python -m pip install -U pip wheel setuptools build twine
8383
- name: Build wheels
84-
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
84+
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
8585
env:
8686
#CIBW_BUILD_FRONTEND: "build"
8787
CIBW_ARCHS_MACOS: x86_64 arm64 universal2

.github/workflows/ci.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
48+
python-version:
49+
- "3.7"
50+
- "3.8"
51+
- "3.9"
52+
- "3.10"
53+
- "3.11"
54+
- "3.12"
55+
- "3.13"
4956

5057
steps:
5158
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
@@ -176,8 +183,21 @@ jobs:
176183
strategy:
177184
fail-fast: false
178185
matrix:
179-
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
186+
python-version:
187+
- "3.8"
188+
- "3.9"
189+
- "3.10"
190+
- "3.11"
191+
- "3.12"
192+
- "3.13"
180193
os: [ ubuntu-latest, macos-latest, windows-latest ]
194+
include:
195+
- python-version: "3.7"
196+
os: ubuntu-latest
197+
- python-version: "3.7"
198+
os: macos-13
199+
- python-version: "3.7"
200+
os: windows-latest
181201
env:
182202
PYTHONIOENCODING: utf8 # only needed for Windows (console IO output encoding)
183203
steps:

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build==0.10.0
77
wheel==0.42.0
88

99
black==23.3.0
10-
mypy==1.9.0; python_version >= '3.8'
10+
mypy @ git+https://github.com/python/mypy.git@master; python_version >= '3.8' # revert back to a PyPI release once available
1111
mypy==1.4.1; python_version < '3.8'
1212
Flask==2.2.3
1313
pytest>=7.4.4,<=8.1.1

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers =
2525
Programming Language :: Python :: 3.10
2626
Programming Language :: Python :: 3.11
2727
Programming Language :: Python :: 3.12
28+
Programming Language :: Python :: 3.13
2829
Programming Language :: Python :: Implementation :: PyPy
2930
Topic :: Text Processing :: Linguistic
3031
Topic :: Utilities

0 commit comments

Comments
 (0)