Test with released Python 3.13

This commit is contained in:
Adam Turner 2024-10-10 12:07:16 +01:00
parent 5f03152f76
commit c4997fbaa7

View File

@ -36,12 +36,13 @@ jobs:
- "3.10" - "3.10"
- "3.11" - "3.11"
- "3.12" - "3.12"
- "3.13"
docutils: docutils:
- "0.20" - "0.20"
- "0.21" - "0.21"
# include: # include:
# # test every supported Docutils version for the latest supported Python # # test every supported Docutils version for the latest supported Python
# - python: "3.12" # - python: "3.13"
# docutils: "0.20" # docutils: "0.20"
steps: steps:
@ -70,13 +71,14 @@ jobs:
PYTHONWARNINGS: "error" # treat all warnings as errors PYTHONWARNINGS: "error" # treat all warnings as errors
deadsnakes: deadsnakes:
if: false
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}) name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }})
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python: python:
- "3.13-dev" - "3.14"
docutils: docutils:
- "0.20" - "0.20"
- "0.21" - "0.21"
@ -86,7 +88,7 @@ jobs:
- name: Set up Python ${{ matrix.python }} (deadsnakes) - name: Set up Python ${{ matrix.python }} (deadsnakes)
uses: deadsnakes/action@v3.2.0 uses: deadsnakes/action@v3.2.0
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}-dev
- name: Check Python version - name: Check Python version
run: python --version --version run: python --version --version
- name: Install graphviz - name: Install graphviz
@ -103,13 +105,14 @@ jobs:
PYTHONWARNINGS: "error" # treat all warnings as errors PYTHONWARNINGS: "error" # treat all warnings as errors
deadsnakes-free-threraded: deadsnakes-free-threraded:
if: false
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}; free-threaded) name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}; free-threaded)
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python: python:
- "3.13-dev" - "3.14"
docutils: docutils:
- "0.20" - "0.20"
- "0.21" - "0.21"
@ -119,7 +122,7 @@ jobs:
- name: Set up Python ${{ matrix.python }} (deadsnakes) - name: Set up Python ${{ matrix.python }} (deadsnakes)
uses: deadsnakes/action@v3.2.0 uses: deadsnakes/action@v3.2.0
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}-dev
nogil: true nogil: true
- name: Check Python version - name: Check Python version
run: python --version --version run: python --version --version