Bug 2057525

Summary: python-sphinxcontrib-asyncio: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-sphinxcontrib-asyncioAssignee: Fabian Affolter <mail>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-sphinxcontrib-asyncio
Whiteboard:
Fixed In Version: python-sphinxcontrib-asyncio-0.3.0-3.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-05 08:28:53 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: 2016048, 2045102    

Description Tomáš Hrnčiar 2022-02-23 15:11:13 UTC
Description of problem:
Package python-sphinxcontrib-asyncio fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.3.0-2.fc36

Steps to Reproduce:
koji build --scratch f37 python-sphinxcontrib-asyncio-0.3.0-2.fc36.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-sphinxcontrib-asyncio

Comment 1 Ben Beasley 2022-02-23 18:41:11 UTC
There is a failure to import sphinxcontrib.asyncio in the sphinx-build invocation. I think this has something to do with

> __import__('pkg_resources').declare_namespace(__name__)

in sphinxcontrib/__init__.py, possibly in an interaction between the local package and the build environment’s %{python3_sitelib}, where the namespace package directory /usr/lib/python3.10/site-packages/sphinxcontrib already exists. (Ugh, namespace packages.)

As noted in https://bugzilla.redhat.com/show_bug.cgi?id=2006555, Sphinx-generated HTML documentation has some guidelines issues. Since the installed package imports correctly, one easy solution would be to simply drop the -doc subpackage.

Comment 2 Fedora Update System 2022-03-05 08:27:33 UTC
FEDORA-2022-aa9d95a083 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-aa9d95a083

Comment 3 Fedora Update System 2022-03-05 08:28:53 UTC
FEDORA-2022-aa9d95a083 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.