Bug 2105934

Summary: liblognorm fails to build docs with Sphinx 5+
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: liblognormAssignee: Attila Lakatos <alakatos>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: alakatos, mah.darade, rsroka, zfridric
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: liblognorm-2.0.6-4.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-19 12:48:37 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: 2082944    

Description Karolina Surma 2022-07-11 08:56:32 UTC
Description of problem:
liblognorm fails to build documentation with Sphinx 5 in Fedora Rawhide as it sets language to None instead of a valid language string in its conf.py (eg. 'en'). 
Sphinx 5+ doesn't accept such setting.


Version-Release number of selected component (if applicable):
2.0.6-3

How reproducible:
Always

Steps to Reproduce:
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-5/fedora-rawhide-x86_64/ --no-clean <your.src.rpm>
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-5/fedora-rawhide-x86_64/ shell


Actual results:
sphinx-build -b html -d _build/doctrees -n -W -c . . _build/html
Running Sphinx v5.0.2

Warning, treated as error:
Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).

Expected results:
Build succeeds

Comment 1 Attila Lakatos 2022-07-19 12:21:47 UTC
Added link to upstream PR.

Comment 2 Fedora Update System 2022-07-19 12:41:16 UTC
FEDORA-2022-53bc6a4f00 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-53bc6a4f00

Comment 3 Fedora Update System 2022-07-19 12:48:37 UTC
FEDORA-2022-53bc6a4f00 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.