Skip to content

Commit e0b52db

Browse files
authored
Merge pull request #4210 from github/henrymercer/pin-python-for-older-clis-in-ci
Pin Python 3.13.15 for older CLI versions in the multi-language check
2 parents 63d3d63 + 6b99698 commit e0b52db

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎.github/workflows/__multi-language-autodetect.yml‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pr-checks/checks/multi-language-autodetect.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ env:
2020
installGo: true
2121
installDotNet: true
2222
steps:
23-
- name: Install Python 3.13 for older CLI versions
24-
# We need Python 3.13 for older CLI versions because they are not compatible with Python 3.14 or newer.
23+
- name: Install Python 3.13.15 for older CLI versions
24+
# Older CLI versions don't work with Python 3.13.16 or newer because their Python extractor
25+
# imports `importlib._bootstrap._ERR_MSG`, which those Python versions no longer define.
2526
# See https://github.com/github/codeql-action/pull/3212
2627
if: matrix.version != 'nightly-latest' && matrix.version != 'linked'
2728
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2829
with:
29-
python-version: "3.13"
30+
python-version: "3.13.15"
3031

3132
- name: Use Xcode 16
3233
# Only the older CodeQL CLI versions need Xcode 16, and these run on macOS 15.

0 commit comments

Comments
 (0)