Bug 2221990

Summary: bpython fails to build with Sphinx 7.x
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: bpythonAssignee: Terje Røsten <terje.rosten>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: admiller, michel, terje.rosten
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: 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: 2188968    

Description Karolina Surma 2023-07-11 12:24:34 UTC
bpython fails to build with Sphinx 7.x in Fedora 39 (currently Rawhide).

The issue detected - it seems man pages were not generated:

RPM build errors:
    File not found: /builddir/build/BUILDROOT/bpython-0.24-3.fc39.x86_64/usr/share/man/man1/bpython.1*
    File not found: /builddir/build/BUILDROOT/bpython-0.24-3.fc39.x86_64/usr/share/man/man5/bpython-config.5*

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/doc-stack/package/bpython/

You can test you package in mock running:

$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/doc-stack/fedora-rawhide-x86_64/ --no-clean your.src.rpm
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/doc-stack/fedora-rawhide-x86_64/ shell

We'd like to include Sphinx 7 in Fedora 39.
Let us know here if you have any questions. Thank you!

Comment 1 Terje Røsten 2023-07-19 07:35:21 UTC
Sphinx 7 is not in rawhide yet? Using container I get

rpm -q python3-sphinx
python3-sphinx-6.2.1-2.fc39.noarch

Comment 2 Terje Røsten 2023-07-19 07:49:54 UTC
Upstream bug:

 https://github.com/sphinx-doc/sphinx/pull/11363

Comment 3 Terje Røsten 2023-07-24 08:12:38 UTC
 https://github.com/bpython/bpython/issues/987

Comment 4 Karolina Surma 2023-07-24 08:36:34 UTC
(In reply to Terje Røsten from comment #1)
> Sphinx 7 is not in rawhide yet? Using container I get
> 
> rpm -q python3-sphinx
> python3-sphinx-6.2.1-2.fc39.noarch

Not yet, I wanted to give the heads-up all affected package maintainers. It's available in Copr for testing. I'd like to ship it in Fedora 39.

Comment 5 Fedora Release Engineering 2023-08-16 07:19:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.