Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,23 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [ "3.9", "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"]
python-version: [ "3.9", "3.13", "pypy-3.9", "pypy-3.10"]
Comment thread
sveinbjornt marked this conversation as resolved.

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install GreynirCorrect
run: |
python -m pip install --upgrade pip wheel setuptools pytest
python -m pip install git+https://github.com/mideind/Tokenizer#egg=tokenizer
python -m pip install git+https://github.com/mideind/GreynirPackage#egg=reynir
python -m pip install uv
uv pip install --system --upgrade wheel setuptools pytest tokenizer reynir
# No need to test the sentence classifier in every build (also doesn't work with PyPy)
if [ "${{ matrix.python-version }}" == "3.9" ]; then
python -m pip install -e ".[sentence_classifier]"
uv pip install --system -e ".[sentence_classifier]"
else
python -m pip install -e ".[dev]"
uv pip install --system -e ".[dev]"
fi
- name: Typecheck with mypy
run: |
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Comment thread
sveinbjornt marked this conversation as resolved.
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down