What’s New In python-apt 1.7¶
Changed¶
- Starting with 1.6.1 and 1.7~alpha1, the exception raised when
passing objects of a different cache to
apt_pkg.DepCacheisapt_pkg.CacheMismatchError, andapt.cache.Cachewill automatically remap open packages and versions to a new cache.
Added¶
- The class
apt_pkg.PackageRecordscan now lookup custom fields usingrecords[key]andkey in records. - All code is now statically typed. Some methods from
apt_pkgandapt_instmight still be missing or more strict than necessary. - A new method
apt.cache.Cache.fix_broken()has been added.