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 1823718

Summary: python-breathe fails to build with Sphinx 3.0.0
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: python-breatheAssignee: dan.cermak
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, dan.cermak, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-08 23:13:17 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: 1803234, 1783776    

Description Charalampos Stratakis 2020-04-14 10:43:01 UTC
python-breathe fails to build with Sphinx 3.0.0.

> /builddir/build/BUILD/breathe-4.14.2/breathe/renderer/sphinxrenderer.py(60)parse_definition()
-> parser = cpp.DefinitionParser(namestr, self)
(Pdb) Exception occurred while building, starting debugger:
Traceback (most recent call last):
  File "../breathe/renderer/sphinxrenderer.py", line 57, in parse_definition
    parser = cpp.DefinitionParser(namestr, self, self.env.config)
TypeError: __init__() takes 2 positional arguments but 4 were given

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335462-python-breathe/

For all our attempts to build python-breathe with Sphinx 3.0.0, see:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/python-breathe/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/

Let us know here if you have any questions.

Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 dan.cermak 2020-04-14 22:58:37 UTC
This is solved by: https://src.fedoraproject.org/rpms/python-breathe/pull-request/3

Note that this PR cannot be merged just yet, as breathe 4.15.0 is incompatible with sphinx < 3.

Comment 2 dan.cermak 2020-04-15 22:20:40 UTC
Could you update this bug or comment in the pull request once you have updated sphinx in rawhide? I'd then go ahead and build breathe 4.15 in rawhide.

Comment 3 Charalampos Stratakis 2020-04-16 10:40:57 UTC
(In reply to dan.cermak from comment #2)
> Could you update this bug or comment in the pull request once you have
> updated sphinx in rawhide? I'd then go ahead and build breathe 4.15 in
> rawhide.

Will do.

Comment 4 Miro Hrončok 2020-06-30 16:23:50 UTC
The Sphinx 3 build is in progress, you can wait for it with:

$ koji wait-repo f33-build --build python-sphinx-3.1.1-1.fc33

Comment 5 Miro Hrončok 2020-06-30 16:31:28 UTC
Sphinx was updated to 3.1.1.

Comment 6 dan.cermak 2020-07-08 23:13:17 UTC
Fixed in Rawhide.