Skip to content

fasttext-predict: add build-fasttext-predict.yml for riscv64 wheels - #1679

Merged
luhenry merged 1 commit into
mainfrom
fasttext-predict
Sep 10, 2026
Merged

fasttext-predict: add build-fasttext-predict.yml for riscv64 wheels#1679
luhenry merged 1 commit into
mainfrom
fasttext-predict

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Builds the pybind11/C++ extension of fasttext-predict, a predict-only fork of Facebook's fastText with the training API stripped out. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels.yml.

Differs from upstream

  • Pins the release commit instead of a tag - upstream cuts PyPI releases without ever pushing a git tag, so the commit that produced 0.9.2.4 on PyPI is pinned directly and verified byte-identical against the released sdist.
  • PyPI's listed source URL (searxng/fasttext-predict) is stale; that repo/org no longer exists, the project lives at dalf/fasttext-predict now.

Testing

  • Upstream ships no test suite; the wheel is exercised against the README's own language-identification example (download lid.176.ftz, predict on a French sentence, assert the extension actually compiled).

License: OK

Built on cp312; predict smoke test passed.

luhenry added a commit that referenced this pull request Sep 10, 2026
@luhenry
luhenry merged commit 07a2109 into main Sep 10, 2026
9 checks passed
@luhenry
luhenry deleted the fasttext-predict branch September 10, 2026 10:44
@luhenry luhenry linked an issue Sep 10, 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.

fasttext-predict riscv64 support

1 participant