Created attachment 1562246 [details] Full log from Copr python-grafyaml 0.0.5-13.fc31 fails to build dost with Sphinx 2: + /usr/bin/python3 setup.py build_sphinx running build_sphinx [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) Running Sphinx v2.0.1 fatal: --local can only be used inside a git repository making output directory... done Exception occurred: File "/usr/lib/python3.8/site-packages/oslosphinx/__init__.py", line 76, in builder_inited app.info('Using openstack theme from %s' % theme_dir) AttributeError: 'Sphinx' object has no attribute 'info' The full traceback has been saved in /tmp/sphinx-err-k5mmly9o.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! ---- Full lo attached. The critical error is: AttributeError: 'Sphinx' object has no attribute 'info' Please use the logging API instead: https://www.sphinx-doc.org/en/2.0/extdev/logging.html This blocks the Python 3.8 rebuild of the package.
File "/usr/lib/python3.8/site-packages/oslosphinx/__init__.py" is from python-oslo-sphinx.
Alan, please respond.
*** Bug 1716496 has been marked as a duplicate of this bug. ***
opendev/graphyaml is not an openstack project and should not depend on oslosphinx and latest version does not have it, although it has dep on openstackdocstheme which should also be removed in the upstream. oslosphinx itself was retired upstream and should be removed in Fedora. Re. py3.8 compat: upstream opendev CI jobs have only py35 jobs afaict, so there might be more issues. We could try updating graphyaml to the latest version and see how that goes.
Paul, please add update grafyaml in Fedora also if you like add openstack-sig group as admin in https://src.fedoraproject.org/rpms/python-grafyaml
AttributeError: 'Sphinx' object has no attribute 'info' is a bug in oslosphinx. I'll open a separate issue if you'd prefer.
oslossphinx is gone upstream and solution will be to retire it, fixing it will not help grafyaml compat with py36
I cannot parse that sentence. If grafyaml is only compatible with Python 3.6 and not 3.7 or 3.8, it should have been retired 3 releases ago.
Closing in favor of bz1736503. *** This bug has been marked as a duplicate of bug 1736503 ***
grafyaml scratch build worked with python-oslo-sphinx-4.18.0-5.fc31 in buildroot: https://koji.fedoraproject.org/koji/taskinfo?taskID=37042454