Skip to content

pystemmer: add build-pystemmer.yml for riscv64 wheels - #1096

Merged
luhenry merged 2 commits into
mainfrom
pystemmer
Sep 6, 2026
Merged

pystemmer: add build-pystemmer.yml for riscv64 wheels#1096
luhenry merged 2 commits into
mainfrom
pystemmer

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles the Cython Stemmer extension, which wraps libstemmer_c (downloaded and sha256-checked by setup.py at build time). Upstream publishes no riscv64 wheel.

Mirrors upstream's ci.yml build step.

Differs from upstream

  • Cython preinstalled via before-build, build runs --no-build-isolation - no pyproject.toml to declare it as a build requirement.
  • Runs only tests/test_pystemmer.py, not runtests.py's doctest - its expected algorithm list predates libstemmer_c 3.1.0's four new stemmers, and upstream's own CI never actually runs it (a \-continued shell line swallows the real command).

Testing

  • same as upstream, minus the stale doctest above

License: OK - the downloaded libstemmer_c (BSD) is already covered by PyStemmer's own LICENSE file alongside its own (MIT).

Built on cp312; 11 passed.

Cython C extension wrapping libstemmer_c (downloaded and compiled by
setup.py at build time, sha256-pinned); no pyproject.toml, so Cython
has to be preinstalled and the build run with --no-build-isolation.
luhenry added a commit that referenced this pull request Sep 6, 2026
The manylinux riscv64 cp312+ interpreters don't bundle setuptools, so
--no-build-isolation left pip unable to import setuptools.build_meta.
@luhenry
luhenry merged commit c8036fd into main Sep 6, 2026
9 checks passed
@luhenry
luhenry deleted the pystemmer branch September 6, 2026 18:12
@luhenry luhenry linked an issue Sep 6, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pystemmer riscv64 support

1 participant