Skip to content

perf(ci): Skip py3.14 builds for confluent-kafka 2.11.1 and sentry-streams 0.0.39#2359

Merged
joshuarli merged 1 commit into
mainfrom
lcian/skip-py314-stragglers
Jul 9, 2026
Merged

perf(ci): Skip py3.14 builds for confluent-kafka 2.11.1 and sentry-streams 0.0.39#2359
joshuarli merged 1 commit into
mainfrom
lcian/skip-py314-stragglers

Conversation

@lcian

@lcian lcian commented Jul 9, 2026

Copy link
Copy Markdown
Member

confluent-kafka==2.11.1 and sentry-streams==0.0.39 have no official cp314 wheel on PyPI, so they never produce a 3.14 wheel — and every build wastes time failing to. This restricts both to python_versions = <3.14.

Why they never build on 3.14

For 3.11–3.13 the builder downloads prebuilt PyPI wheels (cached, then skipped). For 3.14 it falls back to an sdist build that fails: sentry-streams 0.0.39 uses PyO3 0.24.0 (caps at 3.13, fails in ~1.3 min), and confluent-kafka 2.11.1 spends ~6.5 min compiling librdkafka + deps from source before failing the librdkafka >= 2.11.1 check. The failed wheel never caches, so that work re-runs on every build.

Why it's safe

This is version-specific, not a project-wide 3.14 drop: both projects support 3.14 in their next release (confluent-kafka 2.12.2+, sentry-streams 0.0.40+), and those cp314 wheels are already on the internal index. Matches the "skipped older versions" convention in PYTHON-3.14-UPGRADE.md.

Impact

~8 min less per build. Confirmed on this PR's CI — linux amd64 dropped from ~8.7 min to ~0.5 min (arm64 ~7.4→0.6, macOS ~3.0→0.7).

Since the build runs twice (on the PR, and on main) before a deploy, packages should now appear ~16 min sooner end to end.

…reams 0.0.39

Both versions fail on every build for Python 3.14 and are the lone
stragglers in their package families (confluent-kafka 2.12.2+ and
sentry-streams 0.0.40+ already build on 3.14), so restricting them to
<3.14 removes ~8 min of wasted work per build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lcian lcian marked this pull request as ready for review July 9, 2026 15:02
@lcian lcian requested a review from a team July 9, 2026 15:03
@joshuarli joshuarli merged commit 6812155 into main Jul 9, 2026
22 checks passed
@joshuarli joshuarli deleted the lcian/skip-py314-stragglers branch July 9, 2026 17:16
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