* Anders Breindahl:

> As unattended-upgrades was doing its thing, my regularly-running
> debsecan-exploitive monitoring suite started throwing these errors on
> regular debsecan invocations:
>
>     $ debsecan > /dev/null
>     /usr/bin/debsecan:95: DeprecationWarning: PY_SSIZE_T_CLEAN will be 
> required for '#' formats
>       return version_compare(self.__asString, other.__asString) < 0
>     /usr/bin/debsecan:98: DeprecationWarning: PY_SSIZE_T_CLEAN will be 
> required for '#' formats
>       return version_compare(self.__asString, other.__asString) == 0
>
> The relevant line in unattended-upgrades seems to be this:
>
>     Unpacking python3 (3.8.2-1) over (3.7.5-3)
>
> (Conveniently for bisection, apt-listchanges has the same behaviour, and
> starts spewing these errors only after the above line.)
>
> Please let me know if you'd like any further information!

Isn't this warning triggered by code in python-apt?  After all,
debsecan does this near the beginning of the script:

apt_pkg.init()
try:
    version_compare = apt_pkg.version_compare
except AttributeError:
    version_compare = apt_pkg.VersionCompare

Reply via email to