microsoft / CCF

Confidential Consortium Framework
https://microsoft.github.io/CCF/
Apache License 2.0
761 stars 205 forks source link

Pin `sphinx-mdinclude` to 0.5.4 #6145

Closed eddyashton closed 3 weeks ago

eddyashton commented 3 weeks ago

A new week, a new transitive-dependency-with-imprecise-version-constraints-causing-our-build-to-break. Our GitHub Pages action broke in the past few days:

Could not import extension sphinxcontrib.openapi (exception: cannot import name 'error_string' from 'docutils.io' (/data/src/2.CCF/env/lib/python3.8/site-packages/docutils/io.py))

Spelunking through packages named in the errors showed no recent releases, but a full code search showed sphinx-mdinclude (required by sphinxcontrib.openapi) using docutils.io, specifically:

from docutils.io import error_string as ErrorString

in v6.0, which was released a few days ago. Have pinned to previous version for now.