Skip to content

Commit 194e890

Browse files
authored
build: add support for python 3.13 (#169)
1 parent f840658 commit 194e890

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
fetch-depth: 0 # fetch all commits and branches
26-
- name: Set up Python 3.12
26+
- name: Set up Python 3.13
2727
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2828
with:
29-
python-version: '3.12'
29+
python-version: '3.13'
3030
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
3131
with:
3232
key: docs-${{ hashFiles('pyproject.toml') }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-24.04
1717
strategy:
1818
matrix:
19-
python-version: ['3.10', '3.11', '3.12']
19+
python-version: ['3.10', '3.12', '3.13']
2020
steps:
2121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
- name: Set up Python ${{ matrix.python-version }}
@@ -37,7 +37,7 @@ jobs:
3737
hatch run cov-report-markdown
3838
echo "### Total coverage: ${TOTAL_COV}%" >> $GITHUB_STEP_SUMMARY
3939
cat coverage.md >> $GITHUB_STEP_SUMMARY
40-
if: matrix.python-version == '3.12'
40+
if: matrix.python-version == '3.13'
4141
- name: Generate coverage badge
4242
uses: schneegans/dynamic-badges-action@e9a478b16159b4d31420099ba146cdc50f134483 # v1.7.0
4343
with:
@@ -69,7 +69,7 @@ jobs:
6969
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7070
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
7171
with:
72-
python-version: '3.12'
72+
python-version: '3.13'
7373
cache: pip
7474
- run: python -Im pip install --editable .[dev]
7575
- run: python -Ic 'import re3data; print(re3data.__version__)'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ classifiers = [
3434
"Programming Language :: Python :: 3.10",
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
3738
"Programming Language :: Python :: Implementation :: CPython",
3839
"Topic :: Text Processing :: Markup :: XML",
3940
"Typing :: Typed",

0 commit comments

Comments
 (0)