Skip to content

autobahn: add build-autobahn.yml for riscv64 wheels - #909

Merged
luhenry merged 2 commits into
mainfrom
autobahn
Sep 4, 2026
Merged

autobahn: add build-autobahn.yml for riscv64 wheels#909
luhenry merged 2 commits into
mainfrom
autobahn

Conversation

@luhenry

@luhenry luhenry commented Sep 4, 2026

Copy link
Copy Markdown
Member

Compiles the NVX cffi extension (WebSocket UTF-8 validation and frame XOR masking accelerators). Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels-docker.yml, narrowed to a plain cibuildwheel manylinux_riscv64 build instead of its custom just/uv/rust container pipeline.

Differs from upstream

  • Skips the bundled flatc binary - upstream's own hatch_build.py already treats a missing deps/flatbuffers submodule as a supported, non-gating configuration.

Matrix: cp312/cp313/cp314 - upstream doesn't build 3.14t yet.

Testing

  • Runs the non-twisted suite (autobahn.test, .nvx, .rawsocket, .wamp, .websocket, .asyncio) against the installed wheel, matching upstream's own just test-asyncio.
  • encryption/scram/serialization extras installed for test coverage.
  • Deselects test_asyncio_component[_404] on 3.14: both call asyncio.get_event_loop() outside a running loop, relying on the implicit-loop-creation fallback CPython 3.14 removed. Reproduces on plain macOS 3.14 too - an upstream test bug, not riscv64-specific.

License: OK

Built on cp313/cp314 (PyPI macOS wheel rehearsal, and riscv64 CI); 247-249 passed, 10 skipped (non-Linux/env-gated), plus 26 passed for the asyncio suite.

Builds the NVX (cffi) native extension for cp312-cp314 on riscv64.
Upstream ships no riscv64 wheel; the flatc dev-convenience binary is
skipped (upstream's own hatch_build.py treats a missing flatbuffers
submodule as a supported, non-gating configuration).
Both call asyncio.get_event_loop() outside a running loop, relying on
the implicit-loop-creation fallback CPython 3.14 removed; reproduces
on plain macOS 3.14.7 too, so it is an upstream test bug, not a
riscv64 issue.
@luhenry
luhenry merged commit 26d8203 into main Sep 4, 2026
9 checks passed
@luhenry
luhenry deleted the autobahn branch September 4, 2026 09:35
@luhenry luhenry linked an issue Sep 4, 2026 that may be closed by this pull request
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.

autobahn riscv64 support

1 participant