Bug 2365688 - via sphinx: AttributeError: module 'snowballstemmer' has no attribute 'stemmer'
Summary: via sphinx: AttributeError: module 'snowballstemmer' has no attribute 'stemmer'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: snowball
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Jerry James
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2336943 2365566
TreeView+ depends on / blocked
 
Reported: 2025-05-12 17:14 UTC by Cole Robinson
Modified: 2025-05-13 09:16 UTC (History)
4 users (show)

Fixed In Version: snowball-3.0.1-4.fc43
Clone Of:
Environment:
Last Closed: 2025-05-13 09:16:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources snowball pull-request 4 0 None None None 2025-05-12 18:14:04 UTC

Description Cole Robinson 2025-05-12 17:14:36 UTC
qemu builds are failing when calling sphinx, on i686 at least (didn't test other architectures yet). Was working a week ago. I'm guessing it is snowball since that was updated recently

Traceback
=========
      File "/usr/lib/python3.13/site-packages/sphinx/search/en.py", line 215, in init
        self.stemmer = snowballstemmer.stemmer('porter')
                       ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'snowballstemmer' has no attribute 'stemmer'

scratch-build log: https://kojipkgs.fedoraproject.org//work/tasks/6813/132646813/build.log

python3-snowballstemmer-3.0.1-2.fc43

Reproducible: Always

Comment 1 Miro Hrončok 2025-05-12 18:14:05 UTC
Apologies, this was my fault.

A quick fix is in https://src.fedoraproject.org/rpms/snowball/pull-request/4

Unfortunately, it turns out the tests in %check don't test what is installed, so they all passed :(


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