Skip to content

ci: use Python 3.12 for README metadata checks - #8434

Merged
mohanchen merged 1 commit into
deepmodeling:developfrom
Stardust0831:fix/readme-metadata-python312
Nov 30, 2026
Merged

mohanchen merged 1 commit into
deepmodeling:developfrom
Stardust0831:fix/readme-metadata-python312

Conversation

@Stardust0831

Copy link
Copy Markdown
Collaborator

The README declaration check introduced by deepmodeling/abacus-develop#8293 requests Python 3.8 on ubuntu-latest, which fails during setup on Ubuntu 26.04 (failure in #8392). Use Python '3.12' so the check can verify that README files declared in pyproject.toml exist and are nonempty.

The official actions/python-versions 3.12.16 release provides Linux x64 packages for Ubuntu 22.04, 24.04 and 26.04. An earlier run of #8392 successfully ran this check with CPython 3.12.16 on Ubuntu 26.04.

Validation passed locally with Python 3.12.3: all three README declarations passed, governance reported no findings, and the diff check passed.

sed -n '31,51s/^          //p' .github/workflows/readme-metadata.yml | /usr/bin/python3.12 -
/usr/bin/python3.12 tools/03_code_analysis/agent_governance_check.py --staged
git diff --cached --check

The workflow's README/pyproject path filter does not select this workflow-only change. No INPUT or core-module changes; no governance exception is needed.

@mohanchen mohanchen added Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS Standards Coding standards and governance rules labels Nov 30, 2026
@mohanchen
mohanchen merged commit c7039c1 into deepmodeling:develop Nov 30, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS Standards Coding standards and governance rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants