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.DepCache
isapt_pkg.CacheMismatchError
, andapt.cache.Cache
will automatically remap open packages and versions to a new cache.
Added¶
- The class
apt_pkg.PackageRecords
can now lookup custom fields usingrecords[key]
andkey in records
. - All code is now statically typed. Some methods from
apt_pkg
andapt_inst
might still be missing or more strict than necessary. - A new method
apt.cache.Cache.fix_broken()
has been added.