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 - python-breathe fails to build with Sphinx 3.0.0
Summary: python-breathe fails to build with Sphinx 3.0.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-breathe
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dan.cermak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F33FTBFS SPHINX3
TreeView+ depends on / blocked
 
Reported: 2020-04-14 10:43 UTC by Charalampos Stratakis
Modified: 2020-07-08 23:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-08 23:13:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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