Skip to content

Commit

Permalink
[Docs] Explicit python 3.12 for sphinx and imghdr (#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
danhoeflinger authored Jan 31, 2025
1 parent 0140666 commit 528c0f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
# Set the python version to 3.12 to keep imghdr for sphinx. Could upgrade sphinx to 6.2 to use 3.x version.
python-version: '3.12'
- name: Install prerequisites
run: |
echo GITHUB_SHA_SHORT=${GITHUB_SHA::8} >> $GITHUB_ENV
Expand Down

0 comments on commit 528c0f0

Please sign in to comment.