Repository navigation
ci: derive the smoke Python version from the build job - #506
Merged
Merged
Conversation
Renovate pinned the smoke job's `python-version: "3.13"` to "3.13.18" (#503), which setup-python cannot find on macOS arm64 and Windows 2025, so both smoke jobs failed at setup and main has been red on build.yml since. Move the version into a job-level env value. Renovate pins a literal `python-version:` input but does not rewrite an env value, so the minor version stays. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mt2FAXZTXnbKG2Ho6GYy1z
jimisola
marked this pull request as ready for review
November 22, 2026 05:03
Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mt2FAXZTXnbKG2Ho6GYy1z
Instead of a separate env value, the build job exports the major.minor of the Python it runs on and the smoke job installs that. Renovate then controls one pinned version: bumping the build job's Python to 3.14 moves the smoke job to 3.14 with it, and the smoke job never asks for a patch version the macOS/Windows runners may lack. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mt2FAXZTXnbKG2Ho6GYy1z
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.
Requested by Jimisola · project thread
What & why
mainhas been red onbuild.ymlsince #503. That Renovate PR pinned the smoke job'spython-version: "3.13"(set deliberately in #500) to"3.13.18", andsetup-pythoncannot find that version on the macOS and Windows runners:The version '3.13.18' with architecture 'arm64' was not found for macOS 26.7.2The version '3.13.18' with architecture 'x64' was not found for Windows 2025Both smoke jobs fail at setup, so the OS smoke checks (and #505's Windows fix) are not exercised at all. Failing
mainruns: 44971951185 (#503), 44972026977 (#504).Changes
The
buildjob exports the major.minor of the Python it runs on (python-minoroutput), and the smoke job installs that version. Renovate keeps controlling one pinned version, the build job's3.13.18: a bump to 3.14 moves the smoke job to 3.14 with it, and the smoke job never asks for a patch version the macOS/Windows runners may lack. Renovate ignores the smoke job's non-literalpython-version.Note: the shared Renovate preset currently caps
pythonatallowedVersions: "<=3.13", so a 3.14 bump also needs that cap lifted inreqstool/.github.Test plan
Smoke (macos-latest),Smoke (windows-latest)andSmoke (ubuntu-latest)pass setup and run the fixtures, andSmoke (outputs identical across OSes)passes. Onmainthe macOS and Windows smoke jobs fail at setup. (Not run locally; this is a workflow change.)🤖 Generated with Claude Code
https://claude.ai/code/session_01Mt2FAXZTXnbKG2Ho6GYy1z