Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1705308

Summary: python-debtcollector FTBFS on Fedora 31
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-oslo-sphinxAssignee: Alan Pevec (Fedora) <apevec>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: amoralej, apevec, chkumar246, dprince, gchamoul, jpena, social, ykarel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-debtcollector-1.21.0-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-13 09:11:11 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: 1700317, 1685211, 1686977, 1732841    
Attachments:
Description Flags
Full log from Copr none

Description Miro Hrončok 2019-05-02 00:04:42 UTC
Created attachment 1561226 [details]
Full log from Copr

When i try to rebuild python-debtcollector-1.11.0-8.fc31 for rawhide, i get this error:

+ sphinx-build-3 -b html -d build/doctrees source build/html
Running Sphinx v2.0.1
fatal: --local can only be used inside a git repository
making output directory... done
/usr/lib/python3.8/site-packages/sphinx/events.py:76: RemovedInSphinx30Warning: autodoc_default_flags is now deprecated. Please use autodoc_default_options instead.
  results.append(callback(*args))

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-zs2hrf6p.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 block the rebuilds of all oslo packages for Python 3.8.
Setting urgent severity, as there is really a lot of oslo packages, if they don't rebuilt, they will fail to install on Fedora 31 once we do the 3.8 switch.

Thanks

Comment 1 Miro Hrončok 2019-05-03 08:58:49 UTC
File "/usr/lib/python3.8/site-packages/oslosphinx/__init__.py" is from 	python-oslo-sphinx.

Comment 2 Javier Peña 2019-05-03 09:12:43 UTC
There is a pending refresh of the OpenStack clients for Fedora to the Stein release, which should include a debtcollector update to support Sphinx 2.0. Alfredo, Yatin, do you know what is the planned date?

Comment 3 Alfredo Moralejo 2019-05-13 09:06:49 UTC
I've updated python-debtcollector in rawhide which does not longer requires python-oslo-sphinx https://koji.fedoraproject.org/koji/buildinfo?buildID=1267027

I guess this can be closed

Comment 4 Miro Hrončok 2019-05-13 09:11:11 UTC
Thank you.