I looked into libcramjam, and libdeflate-sys is referenced in Cargo.toml, but not in the code as far as I could find.
Maybe it works to just delete it from Cargo.toml. On Sun, May 10, 2026, 08:01 Andreas Tille <[email protected]> wrote: > Hi Jelmer, > > thanks a lot for your great help! > > Am Sun, May 10, 2026 at 12:36:45AM +0100 schrieb Jelmer Vernooij: > > So I started looking into this, and then got a bit carried away.. > > > > I'm not sure about patch > > debian/patches/restrict_to_python_module.patch, since it adds a new > > workspace member "libcramjam" that does not exist; adjusted to drop > > that but keep removal of the js crate. > > It was just a desperate attempt from someone with no Rust background. > > > cramjam was using an old version of pyo3, so I had to port it to 0.28 > > (patched). Submitted upstream here: > https://github.com/milesgranger/cramjam/pull/240 > > Cool, thanks a lot. > > > I've dropped the -static features since we don't support those in > > most Debian crates. > > > > For non-rust-team packages, "debcargo update-dependencies" is > > convenient for updating debian/control, so running that after applying > > patches: > > > > caledvlwch% QUILT_PATCHES=debian/patches/ quilt push -a > > ... > > caledvlwch% /usr/bin/debcargo update-dependencies --drop-unreferenced > > ... > > Updating debian/control... > > ... > > Done! > > This does not seem to work and I wonder whether you could have another > look, > > > See > https://salsa.debian.org/python-team/packages/python-cramjam/-/merge_requests/1 > > for the merge request with the above changes. > > Merged and added changes to d/changelog (including closing respective bugs) > > > This builds for me and the testsuite passes for me, with the exception > > of one unrelated failure in click. > > Seems I'm not as lucky as you since > > > https://salsa.debian.org/python-team/packages/python-cramjam/-/jobs/9571464 > > fails to find Build-Depends for me. > > Thanks again > Andreas. > > -- > https://fam-tille.de > >

