python-sphinxcontrib-zopeext fails to import 'ObjectMembers' from 'sphinx.ext.autodoc' (Sphinx 7.2.6 on Fedora Rawhide (40+)) The issue detected (discovered in python-ZODB) ``` + make -C docs html SPHINXBUILD=/usr/bin/sphinx-build PYTHONPATH=/builddir/build/BUILD/ZODB-5.8.1/src make: Entering directory '/builddir/build/BUILD/ZODB-5.8.1/docs' mkdir -p build/html build/doctrees /usr/bin/sphinx-build -b html -d build/doctrees . build/html Running Sphinx v7.2.6 Extension error: Could not import extension sphinxcontrib.zopeext.autointerface (exception: cannot import name 'ObjectMembers' from 'sphinx.ext.autodoc' (/usr/lib/python3.12/site-packages/sphinx/ext/autodoc/__init__.py)) make: Leaving directory '/builddir/build/BUILD/ZODB-5.8.1/docs' ``` For the logs from testing build attempts, see: https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-7.2.6/package/python-ZODB You can test you package in mock running: $ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-7.2.6/fedora-rawhide-x86_64/ --no-clean your.src.rpm $ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-7.2.6/fedora-rawhide-x86_64/ shell We'd like to include Sphinx 7.2.x in Fedora 40. Let us know here if you have any questions. Thank You!
There was already an upstream PR to address this. I have added the patch and built in Rawhide.