APT 1.9.0 transition

Julian Andres Klode julian.klode at canonical.com
Mon Jun 17 16:57:11 UTC 2019


Hi folks,

I uploaded apt 1.9.0 to eoan today, and fixed up some rdeps
to work with it already. apt 1.9 breaks the ABI and API by
removing unneeded includes and deprecated methods and struct
members, so it's a bit much in terms of breakage.

This also means that the bindings for Python and Perl will
share some of the API breaks. Especially noteworthy for Python
is probably that Package.section disappears.

I expect to upload python-apt tomorrow, please give some more
extensive testing after that to python and perl code using apt
to make sure it did not break stuff.

Or in the case of Python, add typing if you don't have already,
and make sure to use mypy --strict - this should catch any
issues.

It's also the first step on the road to 2.0; it also brings
you the "apt satisfy" command that you can feed Build-Depends
strings, e.g. 'apt satisfy "apt (>= 1.9) | apt-replacement (>= 1)"'.

There'll be another ABI break in a few months or so to cleanup
some more details, but it should cause a lot less build failures
and API changes. Hence the SONAME being bumped to 5.90, it will
go to 6.0 for the final.
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en



More information about the ubuntu-devel mailing list