Bug 2365688

Summary: via sphinx: AttributeError: module 'snowballstemmer' has no attribute 'stemmer'
Product: [Fedora] Fedora Reporter: Cole Robinson <crobinso>
Component: snowballAssignee: Jerry James <loganjerry>
Status: CLOSED RAWHIDE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: jujens, loganjerry, mhroncok, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: snowball-3.0.1-4.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-13 09:16:30 UTC Type: ---
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: 2336943, 2365566    

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 :(