You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: Linux workflows run version scripts before installing Python deps (jinja2) #2274
Several Linux CI workflows run Python scripts that import third-party packages before any pip/pip3 install step in the same job. macOS/Windows workflows already install these packages first.
In particular, tools/version/update_version_in_ten_framework.py imports tools/version/common.py, which does from jinja2 import Template. On a clean runner this can fail with ModuleNotFoundError: No module named 'jinja2'.
Affected workflows (on main)
Workflow
Job
Step that runs too early
.github/workflows/linux_ubuntu2204.yml
build
Update version → python3 tools/version/update_version_in_ten_framework.py
.github/workflows/linux_arm64.yml
build
same
.github/workflows/linux_ubuntu2204.yml
test-integration-*
Install Python dependencies via script → python .github/tools/setup_pytest_dependencies.py (no prior workflow-level pip3 install, unlike mac/win)
Align Linux (and the coverage integration jobs, for consistency) with the mac/win order: install at least jinja2 (and the other packages those jobs already use, e.g. python-dotenv, requests) via pip3 installbefore running the version / Python helper scripts.
Activity