ci: drop deadsnakes job#6052
Merged
rwgk merged 1 commit intopybind:masterfrom May 3, 2026
Merged
Conversation
Drop the last remaining deadsnakes-based Linux job because it mostly duplicates the main Ubuntu coverage while failing in external Launchpad/PPA setup, and the old Valgrind/debug path it used to complement has already been retired. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
deadsnakesjob fromci.ymldeadsnakes/actionin pybind11 CIBackground
This job originally made sense as the non-Valgrind counterpart to the old deadsnakes-based debug/Valgrind job. That original job has already been disabled for a long time:
At this point, the only remaining deadsnakes entry in
ci.ymlwas a plain Linux Python 3.11 run:🐍 3.11 (deadsnakes) • x64So the old reason for keeping a non-Valgrind companion job is largely gone.
Why remove it now
The remaining deadsnakes job has become both flaky and low-value.
1. It is the only CI path that depends on Launchpad / a PPA
Everything else in the main Python matrix uses one of:
actions/setup-pythonThe deadsnakes job was the only one that depended on:
deadsnakes/actionadd-apt-repositoryppa:deadsnakes/ppappa.launchpadcontent.netThat makes it more fragile than the rest of the matrix for reasons unrelated to
pybind11 itself.
2. Its failures are external and variable
Recent failures were all in the deadsnakes setup path, before any meaningful pybind11-specific testing completed. The exact symptom varied:
add-apt-repositorywhile talking to LaunchpadFor example:
25264752086, job74077395238sudo add-apt-repository --yes ppa:deadsnakes/ppaTimeoutError: [Errno 110] Connection timed out25263057197, job74073353943add-apt-repository25198984162, job74063792227.debfiles fromppa.launchpadcontent.net25258404339, job74063820103Unable to locate package python3.11-*So this is not giving stable signal about pybind11 changes. It is mostly surfacing bitrot or transient problems in an external setup path.
3. The job no longer adds much unique coverage
The one thing it still tested that is somewhat special was:
actions/setup-pythonThat can be useful in principle, but the current matrix already has extensive Linux coverage, including:
ubuntu-latestwith CPython3.8,3.10,3.11,3.12,3.13,3.14,3.14tThere is already a standard Linux
3.11job in the main matrix:ubuntu-latest, Python3.11,-DPYBIND11_TEST_SMART_HOLDER=ONThat means the remaining deadsnakes job was mostly duplicating existing Linux coverage, while using a much less reliable provisioning path.
4. It is not even stronger than the reusable standard jobs
The remaining deadsnakes job ran the core configure/build/test targets, but it did not include some checks that the reusable standard workflow now runs, such as:
test_cmake_buildtests/extra_setuptoolsSo the deadsnakes job was not just overlapping; in some respects it was weaker than the current standard Linux jobs.
Suggested changelog entry: