Repository navigation
Select published Python SDKs no newer than the CCF release - #8938
Merged
Merged
Conversation
Include published SDK prereleases when testing release builds and installed packages, while preserving editable SDK installs for normal CI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the prerelease SDK selection changes.
No open issues 🎉
What changed in this PR
Allows release tests to select prerelease Python SDKs, avoiding fallback to older stable SDKs that lack support for newer CCF features.
Changes:
- Adds
--prerelease allowto all four released-SDK installation commands. - Updates sandbox messages and documentation while preserving local SDK behavior for normal development and CI.
Custom instructions used: No repository instruction files loaded.
| File | Description |
|---|---|
tests/tests.sh |
Allows prerelease SDKs in release tests. |
tests/test_install.sh |
Allows prerelease SDKs in installed-package tests. |
tests/sandbox/sandbox.sh |
Updates both SDK installation paths and messages. |
.pipelines/README.md |
Documents prerelease SDK selection. |
.github/workflows/README.md |
Clarifies release-test SDK behavior. |
.github/skills/testing/SKILL.md |
Updates testing guidance and installation command. |
Review effort: Balanced
Normalize the build version into a job-wide SDK upper bound. Permit prereleases and older-major SDKs, but never select an SDK newer than the CCF version being tested. Add local-wheel resolver regressions for all release install paths. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep local resolver checks as manual validation rather than adding a wheel-generation test framework for release scripts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Amaury Chamayou (achamayou)
approved these changes
Dec 3, 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.

Release tests should select the highest published Python SDK no newer than the CCF version under test, including prereleases. Older-major SDKs remain eligible; newer SDKs must not be used.
The 8.0.0-dev1 release run failed verifying an ML-DSA recovery endorsement with an older stable SDK, while PR CI passed using the source SDK. Prerelease eligibility lets the release tests use an ML-DSA-aware SDK once published; the upper bound prevents older CCF releases from selecting newer SDKs.
For example, CCF 7.0.50 may use SDK 6.x or 7.0.49, but not 7.0.51 or 8.x. CCF 8.0.0.dev2 may use SDK 8.0.0.dev1, but not 8.0.0 final.
Validation
Manually exercised all four installation commands against local wheels: older-major fallback, rejection of newer patch and major versions, development and final release ordering, and explicit failure when no eligible SDK exists. Also checked version normalization and the publishing helper default rejection of local versions. The temporary test harness is not included in this PR.
The workflow version-derivation command, shell syntax, ShellCheck, Black, Prettier, prose layout, ASCII, copyright, disallowed-comment and whitespace checks passed. Independent review found no significant issues.
The full Release workflow has not been rerun and still requires publishing the updated SDK.