From 660961fc31a57d500de58f94899ddae5e8d5224d Mon Sep 17 00:00:00 2001 From: antoinecollet5 Date: Wed, 13 Nov 2024 14:52:31 +0100 Subject: [PATCH] TEST: add support for python 3.13. --- .github/workflows/main.yml | 6 +++--- .readthedocs.yml | 2 +- tox.ini | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 533e002..b92f919 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.13 - name: Install dependencies run: pip install -r requirements_dev.txt @@ -50,7 +50,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: Install dependencies run: pip install -r requirements_dev.txt @@ -80,7 +80,7 @@ jobs: strategy: max-parallel: 6 matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.readthedocs.yml b/.readthedocs.yml index a0079e1..2576754 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -12,7 +12,7 @@ sphinx: build: os: ubuntu-22.04 tools: - python: "3.12" + python: "3.13" # Optionally set the version of Python and requirements required to build your docs diff --git a/tox.ini b/tox.ini index eac2b34..31763f7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = clean, py37, py38, py39, py310, py311, py312 +envlist = clean, py37, py38, py39, py310, py311, py312, py313 skipsdist = true [gh-actions] @@ -10,6 +10,7 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [testenv:clean] deps = coverage @@ -39,4 +40,4 @@ commands = coverage html -i coverage xml -i depends = - {py37,py38,py39,py310,py311,py312}: clean + {py37,py38,py39,py310,py311,py312,py313}: clean