Skip to content

Commit 528c0f0

Browse files
[Docs] Explicit python 3.12 for sphinx and imghdr (#2030)
1 parent 0140666 commit 528c0f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci-docs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
- uses: actions/checkout@v4
3434
- uses: actions/setup-python@v5
3535
with:
36-
python-version: '3.x'
36+
# Set the python version to 3.12 to keep imghdr for sphinx. Could upgrade sphinx to 6.2 to use 3.x version.
37+
python-version: '3.12'
3738
- name: Install prerequisites
3839
run: |
3940
echo GITHUB_SHA_SHORT=${GITHUB_SHA::8} >> $GITHUB_ENV

0 commit comments

Comments
 (0)