Bug 1691692

Summary: python-sphinxcontrib-github-alt - Broken with Sphinx 2
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: python-sphinxcontrib-github-altAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-sphinxcontrib-github-alt-1.1-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-28 00:52:48 UTC Type: Bug
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: 1685211    

Description Elliott Sales de Andrade 2019-03-22 09:29:54 UTC
Trying to build something using this extension fails due to an undefined attribute:

+ sphinx-build-3 docs html
Running Sphinx v2.0.0b1

Exception occurred:
  File "/usr/lib/python3.7/site-packages/sphinxcontrib_github_alt.py", line 147, in setup
    app.info('Initializing GitHub plugin')
AttributeError: 'Sphinx' object has no attribute 'info'
The full traceback has been saved in /tmp/sphinx-err-j2_c4arf.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!


Version-Release number of selected component (if applicable):
1.0-5.fc30

Comment 1 Elliott Sales de Andrade 2019-03-22 09:31:20 UTC
The full traceback from the log is:

# Sphinx version: 2.0.0b1
# Python version: 3.7.2 (CPython)
# Docutils version: 0.14 
# Jinja2 version: 2.10
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/sphinx/cmd/build.py", line 283, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 228, in __init__
    self.setup_extension(extension)
  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 380, in setup_extension
    self.registry.load_extension(self, extname)
  File "/usr/lib/python3.7/site-packages/sphinx/registry.py", line 484, in load_extension
    metadata = mod.setup(app)
  File "/usr/lib/python3.7/site-packages/sphinxcontrib_github_alt.py", line 147, in setup
    app.info('Initializing GitHub plugin')
AttributeError: 'Sphinx' object has no attribute 'info'

Comment 2 Miro Hrončok 2019-03-22 13:28:09 UTC
Could you please report this to upstream? Thnaks

Comment 3 Miro Hrončok 2019-03-24 13:18:07 UTC
A pull request even. Thank you!