Skip to content

ci: derive the smoke Python version from the build job - #506

Merged
jimisola merged 3 commits into
mainfrom
ci/smoke-python-minor
Nov 22, 2026
Merged

jimisola merged 3 commits into
mainfrom
ci/smoke-python-minor

Conversation

@jimisola

@jimisola jimisola commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Requested by Jimisola · project thread

What & why

main has been red on build.yml since #503. That Renovate PR pinned the smoke job's python-version: "3.13" (set deliberately in #500) to "3.13.18", and setup-python cannot find that version on the macOS and Windows runners:

  • macOS: The version '3.13.18' with architecture 'arm64' was not found for macOS 26.7.2
  • Windows: The version '3.13.18' with architecture 'x64' was not found for Windows 2025

Both smoke jobs fail at setup, so the OS smoke checks (and #505's Windows fix) are not exercised at all. Failing main runs: 44971951185 (#503), 44972026977 (#504).

Changes

The build job exports the major.minor of the Python it runs on (python-minor output), and the smoke job installs that version. Renovate keeps controlling one pinned version, the build job's 3.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-literal python-version.

Note: the shared Renovate preset currently caps python at allowedVersions: "<=3.13", so a 3.14 bump also needs that cap lifted in reqstool/.github.

Test plan

  • This PR's own checks: Smoke (macos-latest), Smoke (windows-latest) and Smoke (ubuntu-latest) pass setup and run the fixtures, and Smoke (outputs identical across OSes) passes. On main the 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

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 jimisola self-assigned this Nov 22, 2026
@jimisola
jimisola marked this pull request as ready for review November 22, 2026 05:03
jimisola and others added 2 commits November 22, 2026 08:02
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
@jimisola jimisola changed the title ci: keep the smoke job on the Python minor version ci: derive the smoke Python version from the build job Nov 22, 2026
@jimisola
jimisola merged commit bb054fb into main Nov 22, 2026
13 checks passed
@jimisola
jimisola deleted the ci/smoke-python-minor branch November 22, 2026 08:19
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.

1 participant