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 1977649

Summary: python-whoosh fails to build with Sphinx 4.0.2
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-whooshAssignee: Robert Kuska <rkuska>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rkuska, sgallagh, thrnciar
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: 1890881, 1927309, 1973718    

Description Karolina Surma 2021-06-30 08:30:57 UTC
python-whoosh fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide).

+ sphinx-build docs/source docs/html
Running Sphinx v4.0.2
making output directory... done
...
reading sources... [ 22%] api/idsets
reading sources... [ 24%] api/index
reading sources... [ 25%] api/lang/morph_en
reading sources... [ 27%] api/lang/porter
reading sources... [ 29%] api/lang/wordnet
reading sources... [ 31%] api/matching
/builddir/build/BUILD/Whoosh-2.7.4/src/whoosh/collectors.py:docstring of whoosh.collectors.UnlimitedCollector:5: WARNING: Field list ends without a blank line; unexpected unindent.
/builddir/build/BUILD/Whoosh-2.7.4/src/whoosh/formats.py:docstring of whoosh.formats.Existence:8: WARNING: Field list ends without a blank line; unexpected unindent.
Exception occurred:
  File "/usr/lib/python3.10/site-packages/sphinx/util/typing.py", line 112, in restify
    elif cls in INVALID_BUILTIN_CLASSES:
TypeError: unhashable type: 'NullMatcherClass'

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/python-whoosh/

You can test you package using Koji scratch build
koji build --scratch <srpm>

For details regarding the Sphinx change, see https://fedoraproject.org/wiki/Changes/Sphinx4
Let us know here if you have any questions. Thank you!

Comment 1 Fedora Admin user for bugzilla script actions 2022-07-03 10:47:33 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.