Bug 1716531 - python-sphinxcontrib-programoutput fails to build with Python 3.8
Summary: python-sphinxcontrib-programoutput fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinxcontrib-programoutput
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL: https://copr.fedorainfracloud.org/cop...
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-06-03 14:40 UTC by Miro Hrončok
Modified: 2019-06-03 21:25 UTC (History)
1 user (show)

Fixed In Version: python-sphinxcontrib-programoutput-0.14-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-03 21:25:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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