AcademySoftwareFoundation / OpenTimelineIO

Open Source API and interchange format for editorial timeline information.
http://opentimeline.io
Apache License 2.0
1.47k stars 294 forks source link

Update Sphinx pinned version to get newer python support and remove imghdr requirement #1807

Open vade opened 1 month ago

vade commented 1 month ago

Required:


[ x] I believe this isn't a duplicate topic
[ x] This report is not related to an adapter

Select One:

[ x] Build problem
[ ] Incorrect Functionality or bug
[ ] New feature or functionality

Description

Building docs on Python 3.13 fails due to Sphinx pinned version requiring imghdr which is deprecated in newer python versions as of 3.13 (deprecated but available in 3.12)

Environment

macOS 14.6 running conda env python 3.13

Reproduction Steps

cd docs
pip install -r requirements
make html

fixed by installing python 3.12.

benjamin-white-233 commented 2 weeks ago

Hello! In my local fork I have pinned sphinx==7.3.7 and myst-parser==3.0.1. The docs are now building successfully from Python 3.13. Will submit a PR shortly!