Skip to content

ci: test with Python 3.15 - #8817

Merged
link2xt merged 1 commit into
mainfrom
link2xt/python-3.15
Oct 18, 2026
Merged

link2xt merged 1 commit into
mainfrom
link2xt/python-3.15

Conversation

@link2xt

@link2xt link2xt commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

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.

@link2xt

link2xt commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator Author

This failed with "The version '3.15' with architecture 'x64' was not found for Ubuntu 24.04." once, but turns out the builds for setup-python were just released: actions/setup-python#1367 (comment)

@link2xt
link2xt marked this pull request as ready for review October 10, 2026 21:00
@link2xt
link2xt requested a review from Hocuri October 14, 2026 16:42

@Hocuri Hocuri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure when we add "Programming Language :: Python :: 3.15" to deltachat-rpc-client/pyproject.toml? Should we do this now, or after seeing for some time that Python 3.15 is fine?

Comment thread .github/workflows/ci.yml Outdated
# Minimum Supported Rust Version
MSRV: 1.89.0

PYTHON_VERSION: 3.15

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be PYTHON_VERSION: "3.15" (with quotes) to prevent a small future footgun? An unquoted 3.20 would be read as 3.2 on a future bump.

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.
@link2xt
link2xt force-pushed the link2xt/python-3.15 branch from d8b9fd5 to 2daff0b Compare October 16, 2026 22:17
@link2xt
link2xt merged commit 9637ecf into main Oct 18, 2026
145 of 155 checks passed
@link2xt
link2xt deleted the link2xt/python-3.15 branch October 18, 2026 13:04
@link2xt

link2xt commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator Author

CI took five reruns here, but finally passed. I opened an issue with more details about CFFI CI getting stuck: #8838
It does not seem to be related to this PR because I am still on Python 3.14 locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants