[Pkg-rust-maintainers] Bug#1116210: rust-bzip2: please upgrade to v0.6

Daniel Kahn Gillmor dkg at debian.org
Mon Jan 26 04:23:44 GMT 2026


Hi Jonas--

On Sun 2026-01-25 09:42:21 +0100, Jonas Smedegaard wrote:
> Thanks, but I think you are mistaken: In my experience, "<= 0.6" is
> equivalent to "<= 0.6.*" (not "<= 0.6.0").

Interesting, thanks for pushing back and making me reconsider this!

i read the cargo specification for version requirements:

  https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#version-requirement-syntax

and it appears to be ambiguous about what an explicit comparator means
if the patch level is unspecified.

> If I was mistaken, then I believe that e.g. oxigraph, which for some
> time has carried this line:
>
> quick-xml = ">= 0.37, <= 0.38
>
> would FTBFS with librust-quick-xml-dev 0.38.4-1, and that works fine.

If you have evidence that this works, that's good enough for me.

Looking in git, i see that what you changed was just the explicit
build-deps (and test deps), without modifying the Cargo.toml patch.  And
i see that it builds and tests safely now ☺

Thanks for pointing me in the right direction!

Happy new year, Jonas!

      --dkg


More information about the Pkg-rust-maintainers mailing list