Skip to content

ci: run Python workflows on 3.12 - #4813

Merged
vvbandeira merged 1 commit into
The-OpenROAD-Project:masterfrom
vvbandeira:ci-python-312
Nov 9, 2026
Merged

vvbandeira merged 1 commit into
The-OpenROAD-Project:masterfrom
vvbandeira:ci-python-312

Conversation

@vvbandeira

Copy link
Copy Markdown
Member

Moves the GitHub workflows that set up Python from 3.10 to 3.12: Lint Tcl, the variables.yaml tester, and both update-rules workflows.
This follows #4809, which moved the docs build to 3.12, and is part of the work to let the Dependabot Python group (#4784) pass.

The .github requirements lock is regenerated for Python 3.12 with hashes:

  • exceptiongroup and tomli are removed, because Python 3.12 does not need these backports.
  • setuptools is now pinned, because ruyaml needs it and a Python 3.12 venv does not include it.
  • No other version changes. tclint stays at 0.7.0.

All pins support Python 3.12, and their hashes match the files on PyPI.

Set python-version to 3.12 in the lint-tcl, yaml-test, update-rules,
and manual-update-rules workflows.

Regenerate .github/requirements/requirements_lock.txt for Python 3.12
with hashes (uv pip compile). The 3.10 backports exceptiongroup and
tomli drop out. setuptools is now pinned, because ruyaml needs it and a
Python 3.12 venv does not include it. tclint stays at 0.7.0.

Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
@vvbandeira
vvbandeira requested a review from a team as a code owner November 9, 2026 17:29
@vvbandeira
vvbandeira requested review from sombraSoft and removed request for a team November 9, 2026 17:29

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the '.github/requirements/requirements_lock.txt' file, migrating the dependency compilation tool from 'pip-compile' with Python 3.10 to 'uv' with Python 3.12. This change leads to several dependency updates, such as removing 'exceptiongroup' and 'tomli', stripping extra features from 'google-api-core', 'httpx', and 'pyjwt', and explicitly pinning 'setuptools'. There are no review comments, and I have no feedback to provide.

@vvbandeira
vvbandeira merged commit b19abe9 into The-OpenROAD-Project:master Nov 9, 2026
10 of 12 checks passed
@openroad-ci

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch.

Commit 92071e2 · Jenkins build #1 · Baseline: build · View build on dashboard

62 design(s) checked — 0 with regression(s), 0 without a comparable baseline.

@vvbandeira
vvbandeira deleted the ci-python-312 branch November 10, 2026 04:33
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