Debian Patches

Status for rust-pyo3-macros-backend/0.28.2-2

Patch Description Author Forwarded Bugs Origin Last update
older-heck =================================================================== no
determinism commit ac1c36584abcfe71b92fb7eb2b74c039d591b552

fix: make introspection JSON output deterministic

The introspection proc macros (used by the `experimental-inspect`
feature) accumulated each JSON object's fields in a `HashMap` before
serializing them in iteration order. Because `std`'s default hasher is
seeded randomly per process, the emitted JSON key order varied between
otherwise identical builds, leaving the embedded introspection chunks
non-reproducible.

Switch to `BTreeMap` so the keys come out in a stable (alphabetical)
order. JSON objects are unordered by spec, so downstream parsers are
unaffected.

Caught via Debian's reproducible-builds rebuild of pysequoia 0.1.34-2,
which fails with diffs like:
{"name","parent","type","annotation"}
vs
{"annotation","parent","type","name"}

index aad7eb1f2..c6b89b192 100644
===================================================================
Jelmer Vernooij <jelmer@jelmer.uk> no 2026-05-26

All known versions for source package 'rust-pyo3-macros-backend'

Links