Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Explicit python 3.12 for sphinx and imghdr #2030

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

danhoeflinger
Copy link
Contributor

@danhoeflinger danhoeflinger commented Jan 30, 2025

Python 3.13 deprecates imghdr, which is still used until Sphinx 6.2. python/cpython#104818

We could upgrade Sphinx from 4.4->6.2 but it seems like we have limited Sphinx at 4.4 it there for some other reason. For now, lets just limit python to a version (3.12) which works.

Copy link
Contributor

@dmitriy-sobolev dmitriy-sobolev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as a fast fix.

There are many libraries with fixed versions in requirements.txt: updating Sphinx version may result in a cascade of dependency issues.

@danhoeflinger danhoeflinger merged commit 528c0f0 into main Jan 31, 2025
22 checks passed
@danhoeflinger danhoeflinger deleted the dev/dhoeflin/limit_python_version_3_12 branch January 31, 2025 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants