Skip to content

ci: provide Python required by compile-sketches on any runner - #37

Merged
AkshayChandra-IFX merged 1 commit into
edge-mainfrom
ci-baseline-edge-main-20261028
Oct 28, 2026
Merged

AkshayChandra-IFX merged 1 commit into
edge-mainfrom
ci-baseline-edge-main-20261028

Conversation

@AkshayChandra-IFX

@AkshayChandra-IFX AkshayChandra-IFX commented Oct 28, 2026 •

Copy link
Copy Markdown

Description
Issue : The CI uses a tool called compile-sketches., That tool only works with one exact Python version: 3.12.4.
Before it starts, the tool asks GitHub for that version & GitHub's newest Linux machines (Ubuntu 26.04) don't have a ready-made 3.12.4. So the request fails and the tests never start.

The fix :
Just before the tool runs, a new step, It reads which Python version the tool wants (today that's 3.12.4). and it downloads that version from a source whose builds run on any Linux and Puts it in the folder GitHub checks first.
When the tool then asks for 3.12.4, it finds it already there and carries on

Context:
This is a temporary workaround: CI fails because the upstream pillo79/compile-sketches action requires exactly Python 3.12.4, which GitHub's Ubuntu 26.04 runners don't provide, so the proper fix is upstream (changing python = "3.12.4" to python = "~3.12" in its pyproject.toml), and this step can be removed once that lands.

compile-sketches pins an exact Python version (3.12.4) that
actions/setup-python does not publish for Ubuntu 26.04, the current
ubuntu-latest, breaking test-core on edge-main. Pre-seed the runner tool
cache with a portable build of the pinned version via uv, so
setup-python finds it regardless of the runner image release.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: AkshayChandra-IFX <akshaychandra.nagzarkar@infineon.com>
@AkshayChandra-IFX
AkshayChandra-IFX force-pushed the ci-baseline-edge-main-20261028 branch from 10305d9 to ac44e55 Compare October 28, 2026 05:15
@AkshayChandra-IFX
AkshayChandra-IFX marked this pull request as ready for review October 28, 2026 06:05

@IFX-Anusha IFX-Anusha left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for now! Later when upstream updates lets look back into this

@AkshayChandra-IFX AkshayChandra-IFX changed the title test: trigger edge-main baseline CI CI Failure Fix Oct 28, 2026
@AkshayChandra-IFX AkshayChandra-IFX changed the title CI Failure Fix ci: provide Python required by compile-sketches on any runner Oct 28, 2026
@AkshayChandra-IFX
AkshayChandra-IFX merged commit 65a556c into edge-main Oct 28, 2026
21 of 22 checks passed
@AkshayChandra-IFX
AkshayChandra-IFX deleted the ci-baseline-edge-main-20261028 branch November 2, 2026 05:37
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