Bug 2246950 - python-sphinxcontrib-zopeext fails to import 'ObjectMembers' from 'sphinx.ext.autodoc' (Sphinx 7.2.6 on Fedora Rawhide (40+))
Summary: python-sphinxcontrib-zopeext fails to import 'ObjectMembers' from 'sphinx.ext...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinxcontrib-zopeext
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2232469
TreeView+ depends on / blocked
 
Reported: 2023-10-30 08:54 UTC by Karolina Surma
Modified: 2023-10-30 14:53 UTC (History)
1 user (show)

Fixed In Version: python-sphinxcontrib-zopeext-0.4.2-4.fc40
Clone Of:
Environment:
Last Closed: 2023-10-30 14:53:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-10-30 08:54:54 UTC
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!

Comment 1 Jerry James 2023-10-30 14:53:23 UTC
There was already an upstream PR to address this.  I have added the patch and built in Rawhide.


Note You need to log in before you can comment on or make changes to this bug.