Skip to content

acora: Add version 2.5 - #4314

Merged
luhenry merged 2 commits into
mainfrom
acora
Nov 3, 2026
Merged

luhenry merged 2 commits into
mainfrom
acora

Conversation

@luhenry

@luhenry luhenry commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Compiles a Cython Aho-Corasick multi-keyword search automaton into two C extensions. Upstream publishes no riscv64 wheel.

Mirrors the Linux job of upstream's ci.yml: sdist built from the tagged checkout, then wheels built per-interpreter against it.

Differs from upstream

  • Nothing beyond the riscv64 image.

Testing

  • same as upstream (test.py -v), staged via CIBW_TEST_SOURCES to avoid the sdist's acora/ source dir shadowing the installed wheel.

License: OK

Built on cp312; 83 passed.

Acora is a Cython-based fast multi-keyword (Aho-Corasick) text search
engine. It has no native dependencies beyond the Cython-generated C
extensions it bundles in its sdist, so the riscv64 build is a plain
sdist -> cibuildwheel pass with no CIBW_BEFORE_BUILD step needed.
Running test.py from the sdist root lets its sibling acora/ source
package shadow the installed wheel (gotcha 25), silently testing the
pure-Python fallback instead of the compiled extension.
luhenry added a commit that referenced this pull request Nov 2, 2026
@luhenry
luhenry marked this pull request as ready for review November 3, 2026 01:44
@luhenry
luhenry merged commit 6b93d9f into main Nov 3, 2026
12 of 13 checks passed
@luhenry
luhenry deleted the acora branch November 3, 2026 01:47
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