sphinx-contrib / images

sphinxcontrib-images extension
Apache License 2.0
17 stars 14 forks source link

Use non-deprecated alias for util.status_iterator #39

Open j9ac9k opened 8 months ago

j9ac9k commented 8 months ago

sphinx.util.status_iterator alias has been deprecated since sphinx 6.1 and will be removed in sphinx 8.0

See https://www.sphinx-doc.org/en/master/extdev/deprecated.html

The preferred access for status_iterator is sphinx.util.display.status_iterator. This commit adopts the new sphinx API and then falls back on the older API access since this plugin supports older versions of sphinx.

SiboVG commented 1 month ago

@jonascj this looks like a good change, could you merge this PR?

jonascj commented 3 weeks ago

Sure, I'll have a look at it one of the coming days. The package needs a new release and have for some time https://github.com/sphinx-contrib/images/issues/33 .