Skip to content

gensim: add build-gensim.yml for riscv64 wheels - #945

Open
luhenry wants to merge 2 commits into
mainfrom
gensim
Open

gensim: add build-gensim.yml for riscv64 wheels#945
luhenry wants to merge 2 commits into
mainfrom
gensim

Conversation

@luhenry

@luhenry luhenry commented Sep 4, 2026

Copy link
Copy Markdown
Member

gensim compiles ten Cython/C++ extensions (word2vec/doc2vec/fasttext inner loops, corpus readers, matrix utils) via setuptools, built against numpy and scipy. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-wheels.yml build_wheels job.

Differs from upstream

  • manylinux_riscv64 image, and numpy/scipy resolved from the RISE registry.

Testing

  • same as upstream

License: OK

Built on cp312; pending CI.

…est failures

test_api.py's dataset-loading tests need network access to gensim-data
unavailable in this CI sandbox on every interpreter. test_corpora.py's
TestWikiCorpus and test_scripts.py's TestSegmentWiki tests fail only on
cp314/cp314t: gensim's multiprocessing pool pickles a WikiCorpus object
whose corpus attribute is a live generator, which the stdlib pickle
module has never supported - something in Python 3.14 newly surfaces
this pre-existing bug. Upstream's own CI already excludes cp314* via
CIBW_SKIP (gensim 4.4.0 doesn't yet officially support 3.14).
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.

1 participant