python-apt (2.6.0) unstable; urgency=medium * The Debian bookworm stable release * Update mirror lists * Fix FileLock docstring to say FileLock not SystemLock -- Julian Andres Klode <jak@debian.org> Mon, 22 May 2023 16:14:05 +0200 python-apt (2.5.3) unstable; urgency=medium [ Nick Rosbrook ] * deb822: allow initializing a Deb822SourceEntry from string * all: fix PEP8 formatting * .gitlab-ci.yml: update typing stage to use venv -- Julian Andres Klode <jak@debian.org> Thu, 23 Feb 2023 21:38:02 +0100 python-apt (2.5.2) unstable; urgency=medium [ Jelmer Vernooij ] * Allow sources.list.d to not exist [ Julian Andres Klode ] * Fix Debian templates to fix FTBFS/test failure. We copied the URI regex from the templated section, so they had {{0,1}}, but these sections had a fixed codename, so there's no expansion, so it needs to be {0,1} here. * Update mirror lists -- Julian Andres Klode <jak@debian.org> Mon, 23 Jan 2023 10:51:16 +0100 python-apt (2.5.1) unstable; urgency=medium [ Julian Andres Klode ] * aptsources: distinfo: type annotations * Reformat code with black * aptsources: Initial deb822 reading, use SourcesList(..., deb822=True) to opt in. The .distro matcher code has not been fully ported yet, and you will experience issues trying to match distro entries to a deb822 source entry with multiple values in the Types, URIs, Suites field, but this should work for most use cases. * Mirror list updates [ Matthias Klumpp ] * Update Debian template information * trivial: Fix Debian changelog URI template -- Julian Andres Klode <jak@debian.org> Mon, 16 Jan 2023 18:44:09 +0100 python-apt (2.5.0) unstable; urgency=medium [ Jelmer Vernooij ] * Fix attribute name in indexfile.py. * Expose MetaIndex.type. [ Michael Vogt ] * debian: remove `python3-*-dbg` packages (Closes: #994348) * apt: fix mypy in apt.progress.text.AcquireProgress [ Julian Andres Klode ] * AcquireFile: Handle large files (LP: #1998265) * apt/progress/base.py: Return False in default cdrom change * Code style fixes * Mirror list updates * d/t/control: Depend on binutils for ar * Untrack all GC tracked objects before freeing them (LP: #1997036) [ Steve Langasek ] * Drop references to archive.canonical.com (LP: #1959343) -- Julian Andres Klode <jak@debian.org> Wed, 30 Nov 2022 17:35:59 +0100 python-apt (2.3.0) unstable; urgency=medium [ Edmund Blomley ] * Fix pages deploy job only statement. * Fix URL to python-apt Repository in Documentation. [ Julian Andres Klode ] * Python 3.10 fixes: - SourceRecordFiles: Set exception in __getitem__ Fixes a regression with Python 3.10 in debug mode - test_all: Avoid using deprecated distutils package - test_tagfile: Avoid leaking file descriptor -- Julian Andres Klode <jak@debian.org> Fri, 22 Oct 2021 12:21:54 +0200 python-apt (2.2.1) unstable; urgency=medium [ Debian Janitor ] * Apply multi-arch hints - python-apt-common: Add Multi-Arch: foreign (Closes: #968458) [ Julian Andres Klode ] * Updated mirror lists (and mirror list location for Debian) -- Julian Andres Klode <jak@debian.org> Sun, 04 Jul 2021 13:57:51 +0200 python-apt (2.2.0) unstable; urgency=medium [ Helmut Grohne ] * Annotate test dependencies with <!nocheck> (Closes: #980719) [ Julian Andres Klode ] * debian/rules: Re-enable PIE hardening * Mirror list updates * debfile: Pass `Name` instead of `Binary` to ExtractTar. Passing the binary causes it to fail trying to find the `false` compressor when a binary for a given compressor is not installed. (LP: #1926437) * debian/gbp.conf: Branch name is main -- Julian Andres Klode <jak@debian.org> Thu, 29 Apr 2021 09:49:08 +0200 python-apt (2.1.7) unstable; urgency=medium * SECURITY UPDATE: various memory and file descriptor leaks (LP: #1899193) - python/arfile.cc, python/generic.h, python/tag.cc, python/tarfile.cc: fix file descriptor and memory leaks - python/apt_instmodule.cc, python/apt_instmodule.h, python/arfile.h: Avoid reference cycle with control,data members in apt_inst.DebFile objects - tests/test_cve_2020_27351.py: Test cases for DebFile (others not easily testable) * Regression fixes for the updates merged too: - arfile.cc: Fix segmentation fault when opening fd, track lifetime correctly (Closes: #977000) - arfile: Regression: Collect file<->deb/ar reference cycles -- Julian Andres Klode <jak@debian.org> Thu, 10 Dec 2020 15:35:32 +0100 python-apt (2.1.6) unstable; urgency=medium [ Julian Andres Klode ] * Rename Cdrom and Disc to Installation medium (LP: #1849406) * hashes: Release GIL while hashing stuff [ Niels Thykier ] * Correct error message in hashes.cc -- Julian Andres Klode <jak@debian.org> Wed, 25 Nov 2020 12:47:37 +0100 python-apt (2.1.5) unstable; urgency=medium * Do not require hardcoding release names in distro info, cleanup Debian and Ubuntu (LP: #1727470) * Debian: use -security instead of /updates for >= 11 -- Julian Andres Klode <jak@debian.org> Tue, 27 Oct 2020 21:27:56 +0100 python-apt (2.1.4) unstable; urgency=medium [ Debian Janitor ] * Trim trailing whitespace. * Wrap long lines in changelog entries: 1.9.9, 1.7.0~alpha1, 1.1.0~alpha1, 0.9.4, 0.9.3.4. * Update standards version to 4.5.0, no changes needed. [ Dave Jones ] * Fix ftbfs with sphinx 3.x (Closes: #963655) [ Julian Andres Klode ] * Make pycodestyle happy * Pacify mypy 0.790 for NotImplemented returns * gitlab-ci: Pull debian:unstable, not ubuntu:focal -- Julian Andres Klode <jak@debian.org> Thu, 15 Oct 2020 14:25:06 +0200 python-apt (2.1.3) unstable; urgency=medium * data/templates/Ubuntu.info.in: Add groovy (LP: #1874880) -- Julian Andres Klode <jak@debian.org> Sat, 25 Apr 2020 13:05:50 +0200 python-apt (2.1.2) unstable; urgency=medium * Use pybuild to split out -dbg stuff, avoid .install/.files (Closes: #958118) * Remove Python 2 and old pyflakes hacks -- Julian Andres Klode <jak@debian.org> Mon, 20 Apr 2020 18:16:28 +0200 python-apt (2.1.1) unstable; urgency=medium * Make python-apt-dev depend on python3-apt, not python-apt -- Julian Andres Klode <jak@debian.org> Thu, 16 Apr 2020 09:54:42 +0200 python-apt (2.1.0) unstable; urgency=medium [ Gordon Ball ] * Use pyflakes3 instead of (python 2) pyflakes [ Julian Andres Klode ] * Stop building for Python 2 (Closes: #937579) * Remove Python 2 autopkgtests -- Julian Andres Klode <jak@debian.org> Thu, 16 Apr 2020 09:46:49 +0200 python-apt (2.0.0) unstable; urgency=medium [ Valters Jansons ] * aptsources: Allow non-existent `source.list` file [ Julian Andres Klode ] * Workaround mypy 0.770 * whatsnew: Move 1.9 development series to 2.0 * Update mirror lists * Add redundant python{,3}-all build depends for lintian [ Simon Poirier ] * Decode locale-encoded descriptions. -- Julian Andres Klode <jak@debian.org> Thu, 09 Apr 2020 09:16:18 +0200 python-apt (1.9.10) unstable; urgency=medium * Improve type annotations for apt_pkg.TagFile and apt_pkg.TagSection. Thanks to Stuart Prescott for the report that object was ... wrong * Break broken kthresher and apt-xapian-index versions -- Julian Andres Klode <jak@debian.org> Sun, 08 Mar 2020 15:16:44 +0100 python-apt (1.9.9) unstable; urgency=medium [ Julian Andres Klode ] * Upload to unstable [ Dan Streetman ] * distinfo: correct subprocess usage * sourceslist: in __find() rstrip / from uri when comparing * test: add test to verify identical entries except trailing slash are considered equal -- Julian Andres Klode <jak@debian.org> Sat, 07 Mar 2020 21:26:04 +0100 python-apt (1.9.8) experimental; urgency=medium * Fix build against apt 1.9.11 (Index -> MapPointer) -- Julian Andres Klode <jak@debian.org> Wed, 26 Feb 2020 21:32:54 +0100 python-apt (1.9.7) experimental; urgency=medium * debian/tests/run-tests: Use py{3,}versions -s, not py{,3}versions -r; fixes regression in autopkgtest due to stderr output. -- Julian Andres Klode <jak@debian.org> Sat, 22 Feb 2020 17:51:04 +0100 python-apt (1.9.6) experimental; urgency=medium [ dann frazier ] * Drop remaining references to pep8 [ Dan Streetman ] * when comparing SourceEntries, rstrip '/' from uris [ Julian Andres Klode ] * gitlab-ci: pull from focal * Use debhelper-compat (= 12) instead of debian/compat 9 * Use pybuild for building * gitlab-ci.yml: Publish html doc build by package, do not rebuild * Correctly install dbg variants of modules for python 3.8 * gitlab-ci: Add daily built apt PPA * Switch from removed Summation classes to Hashes class * policy: Add set_priority(PackageFile, int) * policy: If no candidate version could be found, return None. This used to return an invalid Version object, pointing to 0, leading to crashes. [ Dan Ryan ] * Add conditional import guards in `setup.py` * Migrate build and install to `setuptools` * Remove -Wstrict-prototypes compiler flag -- Julian Andres Klode <jak@debian.org> Fri, 21 Feb 2020 17:45:55 +0100 python-apt (1.9.5) experimental; urgency=medium [ Marc Deslauriers ] * SECURITY REGRESSION: crash with ubuntu-release-upgrader (LP: #1860606) - apt/cache.py: make allow_unauthenticated argument to fetch_archives() optional. [ Julian Andres Klode ] * Really bump aptdaemon break (to 1.1.1+bzr982-0ubuntu31) -- Julian Andres Klode <jak@debian.org> Thu, 23 Jan 2020 10:55:46 +0100 python-apt (1.9.4) experimental; urgency=medium * SECURITY UPDATE: Check that repository is trusted before downloading files from it (LP: #1858973) - apt/cache.py: Add checks to fetch_archives() and commit() - apt/package.py: Add checks to fetch_binary() and fetch_source() - CVE-2019-15796 * To work around the new checks, the parameter allow_unauthenticated=True can be passed to the functions. It defaults to the value of the APT::Get::AllowUnauthenticated option. - Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu21.2), as it will have to set that parameter after having done validation. * Revert "apt.Cache: cache apt.package.Origin objects by id" * InstallProgress: Move set_inheritable into if pid == 0 -- Julian Andres Klode <jak@debian.org> Wed, 15 Jan 2020 16:46:29 +0100 python-apt (1.9.3) experimental; urgency=medium [ Dave Jones ] * aptsources: Fix comment handling in add (regression from 1.9.1) -- Julian Andres Klode <jak@debian.org> Fri, 13 Dec 2019 18:42:26 +0100 python-apt (1.9.2) experimental; urgency=medium * SECURITY UPDATE: Check that we have trusted hashes when downloading in fetch_binary() / fetch_source() (1.9.1 regression) (Closes: #946597) -- Julian Andres Klode <jak@debian.org> Thu, 12 Dec 2019 18:27:02 +0100 python-apt (1.9.1) experimental; urgency=medium [ Julian Andres Klode ] * Install type information according to PEP561 * Temporarily perform CI on eoan only * Adjust to mypy 0.710 * doc/examples: Convert to Python 3 * Convert all shebangs to python3 * gitlab-ci: Run 3 separate test stages * pep8: Fix overindent issues * ./doc/examples/dependant-pkgs.py: Make it work again * Fix segmentation fault for apt_pkg.Cache.policy * test_policy: Fix pyflakes issue * apt.Cache: cache apt.package.Origin objects by id * Adjust for PY_SSIZE_T_CLEAN (Closes: #944091) * Turn InstallProgress into a context manager to avoid leaking files * AcquireFile: Remove md5 parameter * AcquireFile: Accept HashStringList in hash parameter * apt/package.py: Use all hashes when fetching packages * Remove leftover MD5 use in Version.fetch_binary() (Closes: #944696) * Fix type hints * typehinting: Override TagSection.get() * debian/control: Rules-Requires-Root: no, Standards-Version upgrade * Update po template * Fix pre-build script to actually work in Python 3 * Run the pre-build script * lintian fixes - fix typo in changelog error - remove use of extra priority - override uses-dpkg-database-directly for the root location switching magic * Remove spurious python-debian test dependency (see bug #937579) * Build-Depend on pycodestyle, not pep8 [ Raphaël Hertzog ] * Add Kali templates [ Colomban Wendling ] * Fix InstallProgress for installing .deb files on Python >= 3.4 * Add a test case for checking the communication with dpkg works [ Michael Vogt ] * apt, python: make `mypy --strict` clean [ Matthias Klose ] * data/templates/Ubuntu.info.in: Add focal [ Dave Jones ] * Don't duplicate disabled sources during add() (LP: #1311056) -- Julian Andres Klode <jak@debian.org> Wed, 11 Dec 2019 16:17:24 +0100 # Older entries have been removed from this changelog. # To read the complete changelog use `apt changelog python3-apt`.
Generated by dwww version 1.15 on Tue Sep 2 05:43:56 CEST 2025.