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 1977331 - python-h2 fails to build with Sphinx 4.0.2
Summary: python-h2 fails to build with Sphinx 4.0.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-h2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1973718
TreeView+ depends on / blocked
 
Reported: 2021-06-29 13:28 UTC by Karolina Surma
Modified: 2021-06-29 19:47 UTC (History)
2 users (show)

Fixed In Version: python-h2-4.0.0-6.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-29 19:47:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2021-06-29 13:28:10 UTC
python-h2 fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide).

+ sphinx-build-3 docs/source html
Running Sphinx v4.0.2
making output directory... done
...
WARNING: autodoc: failed to import class 'connection.H2Connection' from module 'h2'; the following exception was raised:
No module named 'h2'
WARNING: autodoc: failed to import class 'config.H2Configuration' from module 'h2'; the following exception was raised:
No module named 'h2'
WARNING: autodoc: failed to import class 'events.RequestReceived' from module 'h2'; the following exception was raised:
No module named 'h2'
...
done
checking consistency... done
preparing documents... done
writing output... [  5%] advanced-usage
writing output... [ 10%] api
...
dumping object inventory... done
build succeeded, 41 warnings.
The HTML pages are in html.
+ rm -rf html/.doctrees html/.buildinfo
+ rm -v html/_static/underscore.js
removed 'html/_static/underscore.js'
+ ln -s /usr/share/javascript/underscore/underscore-min.js html/_static/underscore.js
+ rm -v html/_static/underscore-1.12.0.js
rm: cannot remove 'html/_static/underscore-1.12.0.js': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.TUhnKD (%build)
    Bad exit status from /var/tmp/rpm-tmp.TUhnKD (%build)
RPM build errors:
Child return code was: 1

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/python-h2/

You can test you package using Koji scratch build
koji build --scratch <srpm>

For details regarding the Sphinx change, see https://fedoraproject.org/wiki/Changes/Sphinx4
Let us know here if you have any questions. Thank you!

Comment 1 Fedora Update System 2021-06-29 19:46:29 UTC
FEDORA-2021-ff4102da42 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ff4102da42

Comment 2 Fedora Update System 2021-06-29 19:47:13 UTC
FEDORA-2021-ff4102da42 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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