summaryrefslogtreecommitdiffstats
path: root/doc/source/whatsnew/1.6.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:07:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:07:41 +0000
commit76926159194e180003aa78de97e5f287bf4325a5 (patch)
tree2cea7245cdc3f66355900c820c145eba90598766 /doc/source/whatsnew/1.6.rst
parentInitial commit. (diff)
downloadpython-apt-76926159194e180003aa78de97e5f287bf4325a5.tar.xz
python-apt-76926159194e180003aa78de97e5f287bf4325a5.zip
Adding upstream version 2.7.6.upstream/2.7.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/source/whatsnew/1.6.rst')
-rw-r--r--doc/source/whatsnew/1.6.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/source/whatsnew/1.6.rst b/doc/source/whatsnew/1.6.rst
new file mode 100644
index 0000000..2015bee
--- /dev/null
+++ b/doc/source/whatsnew/1.6.rst
@@ -0,0 +1,26 @@
+What's New In python-apt 1.6
+============================
+
+Changed
+-------
+* Methods of :class:`apt_pkg.DepCache` now raise an exception if passed
+ objects belonging to a different cache, in order to avoid segmentation
+ faults or wrong behavior.
+
+ .. versionchanged:: 1.6.1
+
+ Starting with 1.6.1 and 1.7~alpha1, the exception raised is
+ :class:`apt_pkg.CacheMismatchError`, and :class:`apt.cache.Cache` will
+ automatically remap open packages and versions to a new cache.
+
+* Initial type hints
+
+* :attr:`apt_pkg.SourceRecords.files` now returns a
+ :class:`apt_pkg.SourceRecordsFile` object with getters instead of
+ a tuple (but it also emulates the tuple).
+
+Bugfixes
+--------
+* Various other fixes for segmentation faults
+* apt/auth.py: Protect against race with gpg when removing tmpdir
+ (Closes: #871585)