perf(ci): Skip py3.14 builds for confluent-kafka 2.11.1 and sentry-streams 0.0.39#2359
Merged
Conversation
…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>
joshuarli
approved these changes
Jul 9, 2026
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.
confluent-kafka==2.11.1andsentry-streams==0.0.39have no official cp314 wheel on PyPI, so they never produce a 3.14 wheel — and every build wastes time failing to. This restricts both topython_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.1check. 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.