Commit a52fc8d
committed
fix(ci): place NVX .so at wheel root and fix PyPy ARM64 build
Two fixes for CI failures:
1. hatch_build.py: Place NVX .so files at WHEEL ROOT (not autobahn/nvx/)
- CFFI creates top-level modules (e.g., "_nvx_utf8validator")
- Python imports them as `import _nvx_utf8validator` (top-level)
- When installed from wheel, the .so must be in site-packages root
- This fixes: "RuntimeError: NVX native acceleration explicitly
requested via AUTOBAHN_USE_NVX=1, but NVX modules are not available"
2. build-arm64-wheel.sh: Disable py-ubjson C extension for PyPy on ARM64
- The C extension segfaults (exit -11) under QEMU ARM64 emulation
- py-ubjson works fine as pure Python under PyPy's JIT
- Sets PYUBJSON_NO_EXTENSION=1 when building for PyPy
Note: This work was completed with AI assistance (Claude Code).1 parent d0bf026 commit a52fc8d
2 files changed
+15
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | | - | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 125 | | |
130 | 126 | | |
131 | 127 | | |
| |||
0 commit comments