Skip to content

neo4j-rust-ext: Add version 6.2.0.0 - #2426

Merged
luhenry merged 2 commits into
mainfrom
neo4j-rust-ext
Sep 28, 2026
Merged

luhenry merged 2 commits into
mainfrom
neo4j-rust-ext

Conversation

@luhenry

@luhenry luhenry commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Compiles a small pyo3 packstream/vector codec accelerator for the Neo4j Python driver. Upstream publishes no riscv64 wheel.

Upstream ships no build workflow of its own (its .github/ only holds a changelog-entry check), so this builds from its pyproject.toml/tox.ini directly: a plain maturin PEP 517 build plus pytest tests.

Differs from upstream

  • Matrix trimmed to cp312/cp313/cp314 - pyarrow, one of its own test dependencies, has no riscv64 wheel below cp312 on our registry
  • Dropped musllinux - rustup ships no riscv64 musl toolchain
  • No cp314t - upstream doesn't publish one yet

Testing

  • deselected 2 test_from_native_special_values cases asserting an exact f32 NaN byte pattern after an f64->f32 conversion - RISC-V's FCVT.S.D always yields the canonical NaN, discarding sign/payload, unlike x86_64/aarch64

License: OK - Apache-2.0 AND MIT, bundled as-is via the wheel's own license-files metadata.

Built on cp313 (riscv64 CI): 1878 passed, 2 deselected, 35 skipped.

Small pyo3 packstream/vector codec extension for the Neo4j Python driver.
Its dependency tree is pyo3 plus pure-Rust build tooling only - no
rustls/native-tls/openssl-sys, so it needs no riscv64 crate patching.
luhenry added a commit that referenced this pull request Sep 28, 2026
test_from_native_special_values[f32-nan-data_be_raw13/14] assert an exact
f32 NaN byte pattern (sign/payload preserved) after an f64->f32 native
conversion. RISC-V's FCVT.S.D always produces the canonical NaN
(0x7fc00000), discarding sign and payload per the ISA spec, unlike
x86_64/aarch64 which preserve them - architecture divergence, not a bug.
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-28 12:46 UTC

@luhenry
luhenry marked this pull request as ready for review September 28, 2026 11:43
@luhenry
luhenry merged commit aeef6af into main Sep 28, 2026
14 checks passed
@luhenry
luhenry deleted the neo4j-rust-ext branch September 28, 2026 12:07
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