diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5c30a5e7..5306dfa4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - name: Checkout @@ -32,13 +32,13 @@ jobs: with: python-version: ${{ matrix.python-version }} enable-cache: true - # TODO: In the case of Python 3.13, the following error occurs, so install Python using setup-python. + # TODO: In the case of Python 3.13 and 3.14, the following error occurs, so install Python using setup-python. # ../meson.build:44:2: ERROR: Problem encountered: Cannot compile # `Python.h`. Perhaps you need to install python-dev|python-devel - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - if: matrix.python-version == '3.13' + if: matrix.python-version == '3.13' || matrix.python-version == '3.14' - run: | make tool diff --git a/pyproject.toml b/pyproject.toml index 7588e79f..7d6d3397 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dynamic = ["version"] @@ -150,7 +151,7 @@ exclude = [ legacy_tox_ini = """ [tox] isolated_build = true -envlist = py{39,310,311,312,313} +envlist = py{39,310,311,312,313,314} [gh-actions] python = @@ -159,6 +160,7 @@ python = 3.11: py311 3.12: py312 3.13: py313 + 3.14: py314 [testenv] allowlist_externals =