Description of problem: The autoprogram extension is non-function with Python 3.12 as it tries to use the imp module which is no longer provided. Version-Release number of selected component (if applicable): python3-sphinxcontrib-autoprogram-0.1.7-8.fc39.noarch Steps to Reproduce: 1. Try to use sphinx with autoprogram. 2. 3. Actual results: Exception occurred: File "/usr/lib/python3.12/site-packages/sphinxcontrib/autoprogram.py", line 148, in import_object import imp ModuleNotFoundError: No module named 'imp' The full traceback has been saved in /tmp/sphinx-err-qnsv37t_.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! Expected results: It doesn't crash ;-) Additional info: I have reported this upstream as https://github.com/sphinx-contrib/autoprogram/issues/64
As a stopgap measure, you can Require python3-zombie-imp.
python-sphinxcontrib-autoprogram-0.1.8-1.fc39.src.rpm now requires python3-zombie-imp https://koji.fedoraproject.org/koji/buildinfo?buildID=2228532
Note: the zombie-imp dependency can now be safely removed with the latest upstream sources: https://src.fedoraproject.org/rpms/python-sphinxcontrib-autoprogram/pull-request/3