Feature update for python-python-debian

Announcement ID: SUSE-FU-2022:2488-1
Rating: moderate
References:
Affected Products:
  • openSUSE Leap 15.4
  • SUSE Manager Proxy 4.3
  • SUSE Manager Proxy 4.3 Module 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3
  • SUSE Manager Server 4.3 Module 4.3

An update that contains one feature can now be installed.

Description:

This feature update for python-python-debian provides:

  • Rename python-debian to python-python-debian according to the Python packaging guidelines (jsc#SLE-24672)
  • Provide python-python-debian version 0.1.44 (jsc#SLE-24672)
  • Add support for zstd compression in .deb files
  • Use logging.warning rather than warnings for data problems.
  • Support for finding files (including changelog.Debian.gz) that are beyond a symlink within the package
  • Update packaging for zstd compressed .deb code
  • Annotate binutils build-dep with <!nocheck>
  • Update Standards-Version to 4.6.1
  • Various improvements to the round-trip-safe deb822 parser
  • Support the Files-Included field in debian/copyright
  • Fix URL for API documentation in README.rst
  • RTS parser: minor documentation fixes
  • Declare minimum Python version of 3.5 for most modules except the RTS parser. Add CI testing with Python 3.5
  • RTS parser: Handle leading tabs for setting values
  • RTS parser: Preserve original field case
  • RTS parser: Expose str type for keys in paragraphs
  • Use logging for warnings about data that's being read, rather than the warnings module
  • Fix type checks for mypy 0.910
  • Silence lintian complaint about touching the dpkg database in the examples
  • Add RTS parser to setup.py so that it is installed.
  • Add copyright attribution for RTS parser
  • RTS parser: Accept tabs as continuation line marker
  • Interpretation: Preserve tab as continuation line if used
  • RTS parser: Make value interpretation tokenization consistent
  • RTS parser: Add interpretation for Uploaders field
  • Add contextmanager to DebFile
  • Added format/comment preserving deb822 parser as debian._deb822_repro.
  • Add Build-Depends-Arch, Build-Conflicts-Arch to list of relationship fields
  • In debian.changelog.get_maintainer, cope with unknown UIDs
  • Numerous enhancements to the deb822.BuildInfo class
  • Include portability patch for pwd module on Windows
  • Drop the deb822.BuildInfo.get_debian_suite function
  • Move re.compile calls out of functions
  • Revert unintended renaming of Changelog.get_version/set_version
  • Add a type for .buildinfo files (deb822.BuildInfo)
  • Add support for SHA1-Download and SHA256-* variants in PdiffIndex class for .diff/Index files
  • Permit single-character package names in dependency relationship specifications
  • Update to debhelper-compat (= 13)
  • Update examples to use #!/usr/bin/python3
  • Fix tabs vs spaces in examples.
  • Provide accessor for source package version for binary packages
  • Allow debian_support.PackageFile to accept StringIO as well as BytesIO
  • Change handling of case-insensitive field names to allow Deb822 objects to be serialised
  • Add SHA265 support to handling of pdiffs
  • Add support for additional headers for merged pdiffs to PDiffIndex
  • Add a debian.watch module for parsing watch files
  • Prevent stripping of last newline in initial lines before changelog files
  • Add a Copyright.files_excluded field
  • Allow specifying allow_missing_author when reserializing changelog entries
  • Drop python2 support (from version 0.1.37)
  • Add Rules-Requires-Root: no
  • Parse Built-Using relationship fields
  • Extend Deb822 parser to allow underscores in the field name
  • Add accessors for Version objects from Deb822
  • Remove superfluous devel dependency for noarch package

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2022-2488=1
  • SUSE Manager Proxy 4.3 Module 4.3
    zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Proxy-4.3-2022-2488=1
  • SUSE Manager Server 4.3 Module 4.3
    zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Server-4.3-2022-2488=1

Package List:

  • openSUSE Leap 15.4 (noarch)
    • python3-python-debian-0.1.44-150400.9.3.1
  • SUSE Manager Proxy 4.3 Module 4.3 (noarch)
    • python3-python-debian-0.1.44-150400.9.3.1
  • SUSE Manager Server 4.3 Module 4.3 (noarch)
    • python3-python-debian-0.1.44-150400.9.3.1

References: