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

Jonas Smedegaard dr at jones.dk
Sun Jan 25 08:42:21 GMT 2026


Hi Daniel,

Quoting Daniel Kahn Gillmor (2026-01-25 03:42:26)
> On Wed 2025-09-24 13:04:16 +0200, Jonas Smedegaard wrote:
> >
> > Please upgrade crate bzxip2 to v0.6.
> 
> I've just upgraded rust-bzip2 to 0.6.1.  Please update the patch in
> rust-rustls-webpki accordingly so that they can migrate together :)

Thanks. Will do now.

> BTW, i note that debian/patches/2002_bzip2.patch adjusted the crate
> dependencies this way:
> 
> -bzip2 = "0.6"
> +bzip2 = ">= 0.4.4, <= 0.6"
> 
> 
> I think what you really want in this patch is:
> 
> -bzip2 = "0.6"
> +bzip2 = ">= 0.4.4, < 0.7"
> 
> because the original line implies "anything semver-compatible with 0.6"
> (which includes, for example, 0.6.1, and really anything up to 0.7).
> 
> The change in 2002_bzip2.patch only implies "anything up to 0.6", which
> does *not* include 0.6.1, so it's currently blocking rust-bzip2's
> potential migration.

Thanks, but I think you are mistaken: In my experience, "<= 0.6" is
equivalent to "<= 0.6.*" (not "<= 0.6.0"). 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.

I find <= easier to read than << (even if only for the upstream part -
dpkg lacks that syntax).

Please do insist, if you still think I am wrong here. Of course :-)

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20260125/114031b9/attachment.sig>


More information about the Pkg-rust-maintainers mailing list