Bug 1716531

Summary: python-sphinxcontrib-programoutput fails to build with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-sphinxcontrib-programoutputAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: zbyszek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-sphinxcontrib-programoutput/
Whiteboard:
Fixed In Version: python-sphinxcontrib-programoutput-0.14-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-03 21:25:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1686977    

Description Miro Hrončok 2019-06-03 14:40:46 UTC
See https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-sphinxcontrib-programoutput/ for actual logs. This report is automated and not very verbose, but feel free to ping me for help.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-06-03 20:22:17 UTC
This seems to be a problem with sphinx2, not python3.8 per se. I'll close this once the rawhide
build succeeds based on this assumption. Please reopen if it really doesn't build with python3.8.

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-06-03 21:13:21 UTC
Built in rawhide

Comment 3 Miro Hrončok 2019-06-03 21:19:48 UTC
+ sphinx-build -b html doc build/html
Running Sphinx v2.0.1
making output directory... done
/usr/lib/python3.8/site-packages/docutils/writers/latex2e/__init__.py:2978: SyntaxWarning: invalid escape sequence \l
  self.out.append('}] \leavevmode ')

Exception occurred:
  File "/builddir/build/BUILD/sphinxcontrib-programoutput-0.14/doc/conf.py", line 65, in setup
    app.add_description_unit('confval', 'confval',
AttributeError: 'Sphinx' object has no attribute 'add_description_unit'
The full traceback has been saved in /tmp/sphinx-err-e88qx5en.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!

Comment 4 Miro Hrončok 2019-06-03 21:21:20 UTC
This is weird. Your patch should have fixed exactly that. Trying again.

Comment 5 Miro Hrončok 2019-06-03 21:24:06 UTC
Oh, that build triggered when you merged the update PR but there was no build triggered when you pushed the actual fix :(

Comment 6 Miro Hrončok 2019-06-03 21:25:03 UTC
Your fix works.