Deb-pkg-tools

Latest version: v8.3

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 25

1.23

----------------------------

Added ``group_by_latest_versions()`` function.

.. _Release 1.23: https://github.com/xolox/python-deb-pkg-tools/compare/1.22.6...1.23

1.22.6

------------------------------

Try to fix cache deserialization errors on older platforms (refer to the commit
message of 8b04dfcd4d3_ for more details about the errors I'm talking about).

.. _Release 1.22.6: https://github.com/xolox/python-deb-pkg-tools/compare/1.22.5...1.22.6
.. _8b04dfcd4d3: https://github.com/xolox/python-deb-pkg-tools/commit/8b04dfcd4d3

1.22.5

------------------------------

Preserving Python 2.x *and* Python 3.x compatibility is hard 😞.

.. _Release 1.22.5: https://github.com/xolox/python-deb-pkg-tools/compare/1.22.4...1.22.5

1.22.4

------------------------------

Bug fix: Encode stdout/stderr as UTF-8 when not connected to a terminal.

.. _Release 1.22.4: https://github.com/xolox/python-deb-pkg-tools/compare/1.22.3...1.22.4

1.22.3

------------------------------

Bug fix for Python 3 syntax compatibility.

.. _Release 1.22.3: https://github.com/xolox/python-deb-pkg-tools/compare/1.22.2...1.22.3

1.22.2

------------------------------

Make the package cache resistant against deserialization errors.

Today I've been hitting zlib decoding errors and I'm 99% sure my disk isn't
failing (RAID 1 array). For now I'm inclined not to dive too deep into this,
because there's a very simple fix (see first line :-). For future reference,
here's the zlib error::

File ".../deb_pkg_tools/cache.py", line 299, in control_fields
return self.cache.decode(self['control_fields'])
File ".../deb_pkg_tools/cache.py", line 249, in decode
return pickle.loads(zlib.decompress(database_value))

error: Error -5 while decompressing data

.. _Release 1.22.2: https://github.com/xolox/python-deb-pkg-tools/compare/1.22.1...1.22.2

Page 10 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.