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 - python-whoosh fails to build with Sphinx 4.0.2
Summary: python-whoosh fails to build with Sphinx 4.0.2
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-whoosh
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Kuska
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.10 F35FTBFS, RAWHIDEFTBFS 1973718
TreeView+ depends on / blocked
 
Reported: 2021-06-30 08:30 UTC by Karolina Surma
Modified: 2022-07-03 10:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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