Contributor guide for building and testing the runanywhere Python package from source.
- Python 3.9+
- A C++20 toolchain and CMake (for the native
_coreextension) - Built or co-located
runanywhere-commonssources (scikit-build-core drives CMake)
The SDK builds via scikit-build-core, which compiles the native _core extension from runanywhere-commons.
cd bindings/python
pip install -e ".[test]"pytest testsThe suite includes pure-Python tests that fake the native core, so you can run many tests without a full native build.
- The compiled native runtime loads lazily on the first
initialize(), so importingrunanywhereis side-effect-free. - Multiple
RunAnywhereclients share one reference-counted underlying runtime. - See
AGENTS.mdin this directory for the full architecture, build details, and lazy-load design.