On using dpkg-deb for decompression

Athos Ribeiro athoscribeiro at gmail.com
Mon Sep 20 16:00:18 BST 2021


Hi,

I just filed an MR [1] with a proposal for falling back to using
dpkg-deb for archive decompression whenever python-debian's current
implementation (i.e., tarfile) fails in doing so.

The motivation behind it is the recent introduction of zstd as the
default compression method for deb packages in Ubuntu [2].

While deb zstd comporession support has been proposed in Debian [3], it
is still being discussed.

The MR in question [1] was developed with trying not to break non-deb
based environment workflows in mind, since python-debian is also
available as a pure python package in PyPI. The fill discution that led
to the proposed implementation is available at [4].

I would be glad to hear your thoughts on such proposal and would be glad
to make any necessary adjustments to make this work.

[1] https://salsa.debian.org/python-debian-team/python-debian/-/merge_requests/65
[2] https://bugs.launchpad.net/ubuntu/+source/python-debian/+bug/1923845
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664
[4] https://code.launchpad.net/~athos-ribeiro/ubuntu/+source/python-debian/+git/python-debian/+merge/407413

-- 
Athos Ribeiro



More information about the pkg-python-debian-maint mailing list