Skip to content

Commit ffc3f68

Browse files
committed
Only test CPython 3.9 and 3.13, PyPy 3.9 and 3.10, explicitly mark as supporting 3.13 in metadata
1 parent 97174e3 commit ffc3f68

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18-
python-version: [ "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"]
18+
python-version: [ "3.9", "3.13", "pypy-3.9", "pypy-3.10"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -26,17 +26,17 @@ jobs:
2626
- name: Install GreynirCorrect
2727
run: |
2828
python -m pip install uv
29-
uv pip install --system --upgrade pip wheel setuptools pytest tokenizer reynir
29+
uv pip install --system --upgrade wheel setuptools pytest tokenizer reynir
3030
# No need to test the sentence classifier in every build (also doesn't work with PyPy)
31-
if [ "${{ matrix.python-version }}" == "3.10" ]; then
31+
if [ "${{ matrix.python-version }}" == "3.9" ]; then
3232
uv pip install --system -e ".[sentence_classifier]"
3333
else
3434
uv pip install --system -e ".[dev]"
3535
fi
3636
- name: Typecheck with mypy
3737
run: |
38-
if [ "${{ matrix.python-version }}" == "3.10" ]; then python -m pip install mypy; fi
39-
if [ "${{ matrix.python-version }}" == "3.10" ]; then mypy --ignore-missing-imports --python-version=3.9 src/reynir_correct; fi
38+
if [ "${{ matrix.python-version }}" == "3.9" ]; then python -m pip install mypy; fi
39+
if [ "${{ matrix.python-version }}" == "3.9" ]; then mypy --ignore-missing-imports --python-version=3.9 src/reynir_correct; fi
4040
- name: Test with pytest
4141
run: |
4242
python -m pytest

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.10",
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
2425
"Programming Language :: Python :: Implementation :: CPython",
2526
"Programming Language :: Python :: Implementation :: PyPy",
2627
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)