Skip to content

chore: Pinned test runner image to have support of python 3.9 - #158

Merged
rmad17 merged 1 commit into
mainfrom
auth0-api-python-ci-fix
Nov 10, 2026
Merged

rmad17 merged 1 commit into
mainfrom
auth0-api-python-ci-fix

Conversation

@rmad17

@rmad17 rmad17 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Changes

Pins the Build and Test job in .github/workflows/test.yml to ubuntu-24.04 instead of ubuntu-latest.

ubuntu-latest now resolves to Ubuntu 26.04, and actions/python-versions has no Python 3.9 build for it. The test (3.9) leg fails at "Set up Python 3.9" with:

The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.

The package still supports >=3.9.2 (pyproject.toml), so the fix keeps 3.9 in the matrix instead of dropping it.

  • Workflow change only. No source, API, or dependency changes.
  • codeql.yml and publish.yml still use ubuntu-latest. Neither uses Python 3.9 (publish.yml uses 3.12), so they are unaffected.
  • Alternative considered: dropping 3.9 from the matrix. That is a support-policy decision, so it is out of scope here.
  • Follow-up: pinning means the runner image no longer updates itself, so the pin needs a revisit when 24.04 is retired or 3.9 support is dropped.

References

Testing

Verified by the Build and Test run on this PR. All four matrix legs (3.9, 3.10, 3.11, 3.12) should set up Python and pass pytest and ruff.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@rmad17
rmad17 requested a review from a team as a code owner November 10, 2026 05:18
@rmad17
rmad17 merged commit 9a00014 into main Nov 10, 2026
7 checks passed
@rmad17
rmad17 deleted the auth0-api-python-ci-fix branch November 10, 2026 05:33
@kishore7snehil kishore7snehil mentioned this pull request Nov 10, 2026
3 of 5 tasks
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