Skip to content

Commit a9db6b0

Browse files
committed
Only test CPython 3.10 and 3.13, bumped min CPython to 3.10
1 parent 97174e3 commit a9db6b0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 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.10", "3.13", "pypy-3.9", "pypy-3.10"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ 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)
3131
if [ "${{ matrix.python-version }}" == "3.10" ]; then
3232
uv pip install --system -e ".[sentence_classifier]"
@@ -36,7 +36,7 @@ jobs:
3636
- name: Typecheck with mypy
3737
run: |
3838
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
39+
if [ "${{ matrix.python-version }}" == "3.10" ]; then mypy --ignore-missing-imports --python-version=3.10 src/reynir_correct; fi
4040
- name: Test with pytest
4141
run: |
4242
python -m pytest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
"Topic :: Utilities",
2828
"Topic :: Text Processing :: Linguistic",
2929
]
30-
requires-python = ">=3.9"
30+
requires-python = ">=3.10"
3131
dependencies = ["reynir>=3.5.7", "icegrams>=1.1.2", "typing_extensions"]
3232

3333
[project.urls]

0 commit comments

Comments
 (0)