From 2daff0bebc9adc26c6f17c819eb8f21a87d457d2 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 10 Oct 2026 18:09:00 +0000 Subject: [PATCH] ci: test with Python 3.15 Also moved python version to environment variable so status checks will be named "JSON-RPC Python tests (ubuntu-latest, latest)" instead of "JSON-RPC Python tests (ubuntu-latest, 3.14)" and we don't have to update the list of required status checks each time the version changes. We already do the same for Rust. --- .github/workflows/ci.yml | 18 ++++++++++-------- deltachat-rpc-client/pyproject.toml | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7debdb2a3..7db3e40d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,8 @@ env: # Minimum Supported Rust Version MSRV: 1.89.0 + PYTHON_VERSION: "3.15" + jobs: lint_rust: name: Lint Rust @@ -268,11 +270,11 @@ jobs: fail-fast: false matrix: include: - # Currently used Rust version. + # Currently used Python version. - os: ubuntu-latest - python: 3.14 + python: latest - os: macos-latest - python: 3.14 + python: latest # PyPy tests - os: ubuntu-latest @@ -303,7 +305,7 @@ jobs: - name: Install python uses: actions/setup-python@v7.0.0 with: - python-version: ${{ matrix.python }} + python-version: ${{ matrix.python == 'latest' && env.PYTHON_VERSION || matrix.python }} - name: Install tox run: pip install tox @@ -324,11 +326,11 @@ jobs: matrix: include: - os: ubuntu-latest - python: 3.14 + python: latest - os: macos-latest - python: 3.14 + python: latest - os: windows-latest - python: 3.14 + python: latest # PyPy tests - os: ubuntu-latest @@ -351,7 +353,7 @@ jobs: - name: Install python uses: actions/setup-python@v7.0.0 with: - python-version: ${{ matrix.python }} + python-version: ${{ matrix.python == 'latest' && env.PYTHON_VERSION || matrix.python }} - name: Install tox run: pip install tox diff --git a/deltachat-rpc-client/pyproject.toml b/deltachat-rpc-client/pyproject.toml index 4b59bb6b3..80ffcb31e 100644 --- a/deltachat-rpc-client/pyproject.toml +++ b/deltachat-rpc-client/pyproject.toml @@ -18,6 +18,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Communications :: Chat", "Topic :: Communications :: Email" ]