Repository navigation
feat: add support for Python 3.15 - #569
Merged
Merged
Conversation
vdusek
marked this pull request as ready for review
October 13, 2026 08:20
barjin
approved these changes
Oct 13, 2026
vdusek
added a commit
to apify/apify-actor-docker
that referenced
this pull request
Oct 14, 2026
Adds Python 3.15 to `supportedPythonVersions`, so the `actor-python`, `actor-python-playwright` (chrome, firefox, webkit) and `actor-python-selenium` images get built for 3.15. The camoufox image is skipped on 3.15 for now. Camoufox pulls in `zstandard` (through `fpgen`) and `pyyaml`, neither has 3.15 wheels yet, and the slim base image has no `gcc` to build them from source. The skip lives in `camoufoxUnsupportedPythonVersions` in the Python Playwright matrix, so dropping `'3.15'` from that set re-enables the image once the wheels are out. `latestPythonVersion` stays at 3.14. Bumping it moves the `latest` tags and dispatches an actor-templates update to 3.15, and the templates install `apify`, which can't be installed on 3.15 until `impit` publishes 3.15 wheels (apify/impit#569). It can be bumped in a follow-up once that's released. I checked locally that the Python, Playwright and Selenium matrices include the 3.15 entries (without camoufox), the version-matrix tests pass, and `python/Dockerfile` builds and runs on `python:3.15-slim-trixie`. *✍️ Drafted by Claude Code*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds
impit-pythonwheels for CPython 3.15 and 3.15t, runs the Python code checks on 3.15, and adds the 3.15 classifier.It also fixes building from the sdist. The
reqwest_unstablecfg that reqwest'shttp3feature needs lives in the workspace.cargo/config.toml, which the sdist didn't include, so any install without a matching wheel failed withThe http3 feature is unstable, and requires the RUSTFLAGS='--cfg reqwest_unstable'.impit-python/.cargo/config.tomlnow carries the same flag and maturin ships it at the sdist root. I checked locally that a cp315 wheel builds from the new sdist withoutRUSTFLAGS.This unblocks Python 3.15 support in apify/apify-client-python#1122, apify/apify-sdk-python#1179 and apify/crawlee-python#2294.
✍️ Drafted by Claude Code