diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 84191f9..4ad8f0f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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"] 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: | diff --git a/pyproject.toml b/pyproject.toml index 48f2b6f..5d104db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules",