python-apt (3.1.0ubuntu1) resolute; urgency=medium

  * Refresh mirror lists (LP: #2148657)

 -- Oliver Reiche <oliver.reiche@canonical.com>  Wed, 15 Apr 2026 11:45:55 +0200

python-apt (3.1.0build1) resolute; urgency=medium

  * No-change rebuild to drop Python 3.13 bits.

 -- Matthias Klose <doko@ubuntu.com>  Fri, 20 Mar 2026 12:05:39 +0100

python-apt (3.1.0) unstable; urgency=medium

  * test_all: Add handling for new library build dir name
  * Refresh mirror lists
  * Fix invalid nullptr dereference in TagSection.keys() [CVE-2025-6966]
    (LP: #2091865) (Closes: #1122291)

 -- Julian Andres Klode <jak@debian.org>  Mon, 15 Dec 2025 12:37:52 +0100

python-apt (3.0.0) unstable; urgency=medium

  * Bump version to 3.0.0 to match APT and indicate stable series
  * Refresh the mirror lists

 -- Julian Andres Klode <jak@debian.org>  Tue, 08 Apr 2025 16:10:00 +0200

python-apt (2.9.9) unstable; urgency=medium

  * Adapt to libapt-pkg7.0 PPA

 -- Julian Andres Klode <jak@debian.org>  Mon, 17 Feb 2025 10:39:47 +0100

python-apt (2.9.8) unstable; urgency=medium

  * test_lp659438.py: Remove broken apt.Cache(rootdir="/")

 -- Julian Andres Klode <jak@debian.org>  Tue, 28 Jan 2025 20:52:20 +0100

python-apt (2.9.7) unstable; urgency=medium

  [ Julian Andres Klode ]
  * Improve test suite reliability
  * testcommon: Disable sandbox to avoid warnings
  * Adapt test_signed_usable.py for signed-by
  * apt.cache: Only set Dir::Bin::Dpkg if it exists in chroot
  * apt.cache: Create some more required dirs on rootdir
  * tests: Fix a couple of test suite warnings

  [ Simon Chopin ]
  * deb822: Better cope with sections without trailing newline

 -- Julian Andres Klode <jak@debian.org>  Tue, 28 Jan 2025 18:39:13 +0100

python-apt (2.9.6) unstable; urgency=high

  * test-signed-usable-repo: Fake a new signature on 2019-12-17
    (Closes: #1091571)
  * Update mirrors

 -- Julian Andres Klode <jak@debian.org>  Sat, 28 Dec 2024 21:49:45 +0100

python-apt (2.9.5) unstable; urgency=high

  * Remove tanglu information
  * data: Fix mirror location file name
  * urgency=high due to `Handle id being None in get_distro()` being blocked
    by a mirror issue for some reason now.

 -- Julian Andres Klode <jak@debian.org>  Fri, 20 Dec 2024 11:38:57 +0100

python-apt (2.9.4) unstable; urgency=high

  * pre-commit: update
  * tests/test_tagfile.py: isort
  * Fix FTBFS with Sphinx 8.0 (Closes: #1090037)
  * tests, apt: run isort
  * Update mirror lists
  * urgency=high due to `Handle id being None in get_distro()` being blocked
    by the sphinx issue.

 -- Julian Andres Klode <jak@debian.org>  Tue, 17 Dec 2024 11:12:09 +0100

python-apt (2.9.3) unstable; urgency=medium

  * pkgmanager.cc: Fix lifetime of fdprogress, avoids hanging install
  * aptsources/distro.py: Handle id being None in get_distro()
  * Update mirrors

 -- Julian Andres Klode <jak@debian.org>  Wed, 11 Dec 2024 16:29:14 +0100

python-apt (2.9.2) unstable; urgency=medium

  * aptsources: Distribution IDs are now lowercase
  * aptsources: Handle missing VERSION_ID in os-release (Closes: #1088402)
  * Hack around toolchain to pick std symbols from libstdc++ (Closes: #1088262)
  * Update mirrors
  * Strings are really lower case now, but old ones should continue to work

 -- Julian Andres Klode <jak@debian.org>  Wed, 04 Dec 2024 18:04:04 +0100

python-apt (2.9.1) unstable; urgency=medium

  [ Michael Vogt ]
  * python: expose APT::Progress::PackageManagerFancy

  [ Corentin Noël ]
  * aptsources: Use freedesktop_os_release instead of lsb_release
  * aptsources: Allow to query the codenames the distro derives from

  [ Julian Andres Klode ]
  * Document that version_list is in descending order
  * aptsources: Sort the list of sources.list.d sources (LP: #2089543)
  * Remove apt.auth module, apt-key is going away (Closes: #1088222)
  * setup.py: Stop overriding C++ standards version

  [ Niels Thykier ]
  * Mark `fakeroot` as a test-only build-dependency

  [ Boyuan Yang ]
  * Refresh Simplified Chinese (zh_CN) translation

 -- Julian Andres Klode <jak@debian.org>  Mon, 25 Nov 2024 13:27:56 +0100

python-apt (2.9.0) unstable; urgency=medium

  * Revert "2.8.y: Run CI in noble and point gbp.conf at 2.8.y branch"
  * Update pre-commit hooks and run them

 -- Julian Andres Klode <jak@debian.org>  Thu, 02 May 2024 10:06:29 +0200

python-apt (2.8.0) unstable; urgency=medium

  * pre-build.sh: Run pre-commit instead of black directly
  * 2.8.y: Run CI in noble and point gbp.conf at 2.8.y branch
  * Update the mirrors

 -- Julian Andres Klode <jak@debian.org>  Wed, 17 Apr 2024 12:21:58 +0200

python-apt (2.7.7) unstable; urgency=medium

  * Remove obsolete python3-distutils build-depends (Closes: #1065922)

 -- Julian Andres Klode <jak@debian.org>  Fri, 22 Mar 2024 23:25:32 +0100

python-apt (2.7.6) unstable; urgency=medium

  [ Ravi Kant Sharma ]
  * Expose the phased updates APIs in apt 2.7.11

 -- Julian Andres Klode <jak@debian.org>  Wed, 21 Feb 2024 19:01:25 +0100

python-apt (2.7.5) unstable; urgency=medium

  * Improve development workflow and CI with pre-commit hooks:
    - Remove obsolete .travis.yml
    - Setup pre-commit with various formatting and mypy hooks and run it
    - Add mypy.ini
    - pre-commit: mypy: Only filter out sourceslist and distro in aptsources
  * Build fixes:
    - setup.py: Strip whitespace in version
  * Fixes to deb822 support:
    - Make sure we don't construct SourceEntry for .sources file
    - Figure out file to add before deciding between deb822 and legacy
    - Ensure deb822 keys are case-insensitive
    - Pass parent for deb-src entries too
  * Fixes to the test suite:
    - tests: Ensure we parsed the correct main and child sources
    - tests: Adjust test suite to pass all arguments to get_distro()
      Fixing the test suite regressions that plagued (random) executions.
  * Fixes for aptsources.distinfo to improve error handling for mirror files:
    - data: Blankon: Use relative mirror file location
    - distinfo: Include file name if we can't read mirror file
  * Deprecations:
    - aptsources: get_distro: Warn if only some arguments are provided. This
      caused the test suite failures. It will soon become a ValueError.

 -- Julian Andres Klode <jak@debian.org>  Fri, 12 Jan 2024 17:59:34 +0100

python-apt (2.7.4) unstable; urgency=medium

  * aptsources: Fix path to Dir::Etc::SourcesList

 -- Julian Andres Klode <jak@debian.org>  Fri, 22 Dec 2023 12:14:54 +0100

python-apt (2.7.3) unstable; urgency=medium

  * Handle null pointer deference in error handler (Closes: #1058904)
  * Actually register apt_pkg.Warning object
  * apt_inst: Import apt_pkg.Warning and export it again (Closes: #1058657)
  * d/tests/control: Add allow-stderr Restriction

 -- Julian Andres Klode <jak@debian.org>  Thu, 21 Dec 2023 16:00:06 +0100

python-apt (2.7.2) unstable; urgency=medium

  * Convert from type comments to type annotations (Closes: #1058118)
  * Run pyupgrade
  * Run pyupgrade --py311-plus
  * Run autoflake
  * Run isort

 -- Julian Andres Klode <jak@debian.org>  Wed, 13 Dec 2023 16:37:57 +0100

python-apt (2.7.1) unstable; urgency=medium

  [ Aristo Chen ]
  * apt/package.py: fix typo from 'unkown' to 'unknown'

  [ Julian Andres Klode ]
  * Issue warnings as apt_pkg.Warning instead of discarding when there is no error
  * deb822: Allow copying a section by constructor
  * aptsources.distro: Order parent components predictable when adding
  * Added exploded views to deb822 sources to support aptsources.distro which
    will manage potentially only parts of a single paragraph:
    - Initial support for exploded views of deb822 entries
    - sourceslist: add parent argument to add() to copy fields
    - sourceslist: Allow merging official distro sources
    - ExplodedDeb822SourceEntry: Add file property
    - Draft: sourceslist: add: Check for matches in the exploded list
    - sourceslist: Add SourcesList.index() method to index items
    - sourceslist: Fix merging of entries
    - distro: add_source: Insert new source after last official source
    - distro: Handle .comps being a property, not updatable in-place
    - sourceslist: Skip sourceslist, sourcesparts being /dev/null
    - deb822: Improve parsing of section separators
    - deb822: Fix File.__str__() to not include 2 empty lines
    - tests: deb822: Check enable/disable component layout behavior
    - SourcesList.index: Return int in index(), not bool
    - tests: deb822: Check enabling proposed and disabling it

  [ Jeroen Dekkers ]
  * Do not return the empty string in installed_files

  [ Bruce Duncan ]
  * Remove abandoned debugging messages
  * Remove unused debugging

  [ Max-Julian Pogner ]
  * FIX: write snake_case in documentation, as this is the documented method name.

  [ Alexandre Detiste ]
  * remove Python2 crumbs

 -- Julian Andres Klode <juliank@ubuntu.com>  Wed, 13 Dec 2023 14:15:56 +0100

python-apt (2.7.0) unstable; urgency=medium

  [ Cory Todd ]
  * Add version fallback for non-dpkg builds

  [ Julian Andres Klode ]
  * sourceslist: add deb822-compatibility properties to legacy
  * tests: Fix Python 3.12 compatibility by not using utcfromtimestamp()
    (Closes: #1056456)
  * Use sphinx-build directly, sphinx.setup_command is no more
  * Update translation template
  * Update mirror lists

 -- Julian Andres Klode <jak@debian.org>  Wed, 22 Nov 2023 15:36:46 +0100

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