From 31c59a6e3e9f0cc9f289ac955c57abc51329de9e Mon Sep 17 00:00:00 2001 From: Christodoulos Tsoulloftas Date: Sat, 30 Mar 2024 10:01:41 +0200 Subject: [PATCH] Support python v3.13 --- .github/workflows/tests.yml | 15 ++++++++------- pyproject.toml | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b4a587e2..efad2bcb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,16 +9,17 @@ on: jobs: tests: name: ${{ matrix.name }} - runs-on: ${{ matrix.os }}-latest + runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - - {name: Python 3.8, python: '3.8', os: ubuntu} - - {name: Python 3.9, python: '3.9', os: ubuntu} - - {name: Python 3.10, python: '3.10', os: ubuntu} - - {name: Python 3.11, python: '3.11', os: ubuntu} - - {name: Python 3.12, python: '3.12', os: ubuntu} + - {name: Python 3.8, python: '3.8'} + - {name: Python 3.9, python: '3.9'} + - {name: Python 3.10, python: '3.10'} + - {name: Python 3.11, python: '3.11'} + - {name: Python 3.12, python: '3.12'} + - {name: Python 3.13, python: '3.13-dev'} steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} @@ -26,7 +27,7 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install libxml2 - if: startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.13') + if: startsWith(matrix.python, '3.13') run: | sudo apt-get install libxml2-dev libxslt-dev - name: Install dependencies diff --git a/pyproject.toml b/pyproject.toml index 3930cc28..4c0a5a7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,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 :: Code Generators",