python-debian (1.1.1) unstable; urgency=medium

  [ Stuart Prescott ]
  * Move charset-normaliser to an optional dep group
  * Annotate additional deps with nocheck
  * Have dh_python3 add optional deps to Suggests
  * Update licence metadata format in pyproject.toml
  * Tweak tag_regex for tag2upload vs setuptools_scm compatibility
  * Don't raise exceptions on invalid arch specifications (Closes: #1125014)
  * Fix crash in copying multivalued Deb822 objects (Closes: #1109030)
  * Minor whitespace fixes

  [ Jelmer Vernooĳ ]
  * Always build distribution tarball in CI

  [ Christoph Steiger ]
  * Add Static-Built-Using to relations

 -- Jelmer Vernooĳ <jelmer@debian.org>  Sun, 07 Jun 2026 11:14:32 +0100

python-debian (1.1.0) unstable; urgency=medium

  [ Colin Watson ]
  * Add support for merging Changes objects
  * Fix merging of multi-line fields

  [ Sébastien Noel ]
  * gitlab-ci: Trixie has been released
  * Provide a new dpkg_arch_to_multiarch() function
    (Closes: #1095138)

  [ Stuart Prescott ]
  * Mutliple test, type and annotation related changes
    including running `pyupgrade` with `py37` as target
    version.

  [ Nicolas Boulenguez ]
  * Add deb822.PkgRelation.{holds_on_arch, holds_with_profiles}
    (Closes: #1120283)
  * Replace physical address to the FSF with an URL in the license text
  * Update Standards-Version to 4.7.3
  * Replace collections.namedtuple with typing.NamedTuple in deb822.py

 -- Niels Thykier <niels@thykier.net>  Sun, 08 Feb 2026 13:31:49 +0000

python-debian (1.0.1) unstable; urgency=medium

  * Fix handling of empty string data given to Deb822.iter_paragraphs.

 -- Stuart Prescott <stuart@debian.org>  Tue, 11 Mar 2025 23:17:33 +1100

python-debian (1.0.0) unstable; urgency=medium

  * The 1.0.0 release of python-debian :)
  * Upload to unstable (and release to pypi).
  * Update typing imports to keep new mypy happy.
  * Handle non-UTF-8 data in gpgv output from sequoia-generated data
    (Closes: #1095835, #1087991).
  * Permit filenames and Path objects in Deb822.iter_paragraphs()
    (Closes: #1086512).

 -- Stuart Prescott <stuart@debian.org>  Mon, 10 Mar 2025 01:05:59 +1100

python-debian (0.1.52) experimental; urgency=medium

  * Ensure that gpgv is not gpgv-from-sq for now.

 -- Stuart Prescott <stuart@debian.org>  Fri, 27 Dec 2024 00:38:26 +1100

python-debian (0.1.51) experimental; urgency=medium

  * Add build-dependency on gpgv.

 -- Stuart Prescott <stuart@debian.org>  Thu, 26 Dec 2024 17:11:02 +1100

python-debian (0.1.50) experimental; urgency=medium

  [ Stuart Prescott ]
  * 1.0.0 release candidate.
  * Tweaks to match changes in Python-land tooling:
    - Fix some stylistic things that the newly uploaded pylint 2.16 complains
      about.
    - Fix testing with wine to adapt to changes in wine packaging.
    - Fix tests to work with recent changes to pip that prevent installation
      outside of a venv.
    - Change version generation to be PEP440 compatible to satisfy new
      requirements from setuptools, python-packaging etc. This change is
      needed for any uploads outside of Debian sid (derivatives, Debian
      backports, Debian security/stable-updates, etc).
  * Fix file extraction from DebFile for cases where the .deb is generated
    from control or data tarballs without the optional entry for "." and the
    "./" prefix on all members; this isn't needed for dpkg-generated packages,
    but is needed for other tools such as 'cargo deb' (Closes: #1031674).
  * Demote Recommends to Suggests; it is up to the calling code to know what
    optional features of python-debian it is using rather than dragging in an
    ever-increasing list of optional extra packages (Closes: #1029727).
  * Drop shims for pre-PEP8 API after 14 years of deprecation.
  * Replace setup.py and config for pylint, mypy, pytest with pyproject.toml.
  * Switch package build system to use pyproject.toml.
  * Relocate tests and test data out of module; they are no longer included
    in the binary package or in the wheel.
  * Relocate module source from 'lib' to 'src' in line with current practice.
  * Change handling of package version to use setuptools_scm during
    development (but not at run time).
  * Update code to build pypi uploads (sdist and wheel).
  * Update copyright statements throughout.
  * Tweak pytest configuration for pytest 8.1.1 changes.
  * Fix test suite harness that runs tests under wine.
  * Update Standards-Version to 4.7.0 (no changes required).
  * Fix handling of whitespace-separated file lists in Copyright files with
    thanks to Lasse Collin for the suggested fix (Closes: #1062437).
  * Parse source field to extract source version in .deb packages from
    binNMUs (Closes: #1082838).
  * Switch to from chardet to charset-normalizer and make it in the code
    (demoted to Suggests), with thanks to Michal Čihař for the initial work.
  * Update Standards-Version to 4.7.0 (no changes required).
  * Make 'Package-List' a multiline field for Dsc objects, thanks to Philipp
    Hahn for the patch (Closes: #1052154).

  [ Max Mehl ]
  * Use valid SPDX identified in python package metadata.

  [ Benjamin Drung ]
  * Fix version number to be PEP440 compliant.

  [ Jelmer Vernooĳ ]
  * Drop debian_bundle and top-level deb822 modules after 13 years of
    deprecation.

  [ Niels Thykier ]
  * Fix typing errors from newer mypy in deb822.PkgRelation.
  * Changelog parsing speed improvements.
  * Add support for file location finding (line, col) in Deb822 files.

  [ Alexandre Detiste ]
  * Change some type annotations from Python 2 to Python 3 format.
  * Clean up some old Python 2 methods.
  * Fixes for pylint 3.1.

 -- Stuart Prescott <stuart@debian.org>  Thu, 26 Dec 2024 16:12:37 +1100

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog python3-debian`.
