sqlite-vec: add build-sqlite-vec.yml for riscv64 wheels - #951
Open
luhenry wants to merge 1 commit into
Open
Conversation
* **Package**: `sqlite-vec` * **Version**: `0.1.9` * **Source**: https://github.com/asg017/sqlite-vec * **Docs**: https://alexgarcia.xyz/sqlite-vec Compiles the vec0 SQLite loadable extension (one C file linked against the SQLite amalgamation) into a shared library, packaged as a py3-none platform wheel. Upstream publishes no riscv64 wheel. Mirrors the build steps of upstream's [`release.yaml`](https://github.com/asg017/sqlite-vec/blob/v0.1.9/.github/workflows/release.yaml) (`scripts/vendor.sh && make loadable`). **Differs from upstream** - Wheel packaging - upstream's own `sqlite-dist` tool has no riscv64 entry in its platform table, so the workflow reproduces its pip target inline. - Single py3-none build, no interpreter matrix - the extension is `dlopen`'d via `sqlite3.load_extension`, not a CPython C extension. - Tests run on the runner rather than in the manylinux container - its bundled Pythons are built with loadable extensions disabled. **Testing** - Runs upstream's `tests/test-*.py` suite against the built extension, then installs the wheel and calls `vec_version()`. **License**: MIT OR Apache-2.0, both texts included; the vendored SQLite amalgamation is public domain. 91 passed, 4 skipped (upstream's own suite).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sqlite-vec0.1.9Compiles the vec0 SQLite loadable extension (one C file linked against the SQLite amalgamation) into a shared library, packaged as a py3-none platform wheel. Upstream publishes no riscv64 wheel.
Mirrors the build steps of upstream's
release.yaml(scripts/vendor.sh && make loadable).Differs from upstream
sqlite-disttool has no riscv64 entry in its platform table, so the workflow reproduces its pip target inline.dlopen'd viasqlite3.load_extension, not a CPython C extension.Testing
tests/test-*.pysuite against the built extension, then installs the wheel and callsvec_version().License: MIT OR Apache-2.0, both texts included; the vendored SQLite amalgamation is public domain.
91 passed, 4 skipped (upstream's own suite).