Skip to content

pymongoarrow: add build-pymongoarrow.yml for riscv64 wheels - #1777

Open
luhenry wants to merge 3 commits into
mainfrom
pymongoarrow
Open

pymongoarrow: add build-pymongoarrow.yml for riscv64 wheels#1777
luhenry wants to merge 3 commits into
mainfrom
pymongoarrow

Conversation

@luhenry

@luhenry luhenry commented Sep 11, 2026

Copy link
Copy Markdown
Member

Cython extension bridging BSON, PyArrow and NumPy, linked against a from-source libbson and the pyarrow wheel's own Arrow C++ libraries. Upstream publishes no riscv64 wheel.

Mirrors upstream's dist-python.yml and the checkout's own [tool.cibuildwheel] config, adapted for riscv64.

Differs from upstream

  • riscv64 manylinux image, CMAKE_POLICY_VERSION_MINIMUM=3.5 - CMake 4 in the image rejects an old floor somewhere under libbson's tree
  • CIBW_BEFORE_BUILD builds libbson directly - upstream's dev-group sync pulls in watchfiles, which has no riscv64 Rust target
  • LIBBSON_INSTALL_DIR pinned absolute - before-build and the CMake configure run with different working directories
  • PIP_EXTRA_INDEX_URL/scoped PIP_ONLY_BINARY - pyarrow/numpy/pymongo have no riscv64 wheel on PyPI

Testing

  • no riscv64 mongod exists anywhere, so only the DB-independent unit tests run (bson/builders/schema/monkey/libbson) - the same constraint build-pymongo.yml documents for the driver

License: OK

Built on cp312; 58 passed, 0 skipped.

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