Debian Patches

Status for rust-numpy/0.28.0-5

Patch Description Author Forwarded Bugs Origin Last update
relax-deps.patch =================================================================== no
fix-i386-dtype-alignment-tests.patch Make dtype alignment tests portable to 32-bit architectures
The NumPy dtype alignment reported by the C API is 4 bytes on i386, while
the upstream tests hard-code the 64-bit value of 8 bytes. The aligned record
also has a smaller i386 layout and different field offsets. Test the
architecture-specific values without changing the library behavior. Other
32-bit targets, including armhf, retain the upstream layout expectations.

===================================================================
Michele Cane <michele.cane@proton.me> yes 2026-08-13
fix-i386-borrow-state-test.patch Make borrow-state tests portable to 32-bit architectures
The exact borrow-flag count is process-global and is not deterministic on
32-bit targets. Keep the array-count and safety checks on all architectures,
but restrict exact n_flags assertions to 64-bit targets.

===================================================================
Michele Cane <michele.cane@proton.me> yes 2026-08-19
fix-global-borrow-state-count-tests.patch Avoid asserting process-global borrow-state counts
The n_flags value counts all active base arrays in a process-wide map. Rust
tests run concurrently, so its exact value depends on scheduling. Retain the
per-base array and borrow-flag checks, which test the behavior under test.

===================================================================
Michele Cane <michele.cane@proton.me> yes 2026-08-20

All known versions for source package 'rust-numpy'

Links