[PATCH] Replace use of deprecated Python 'imp' module with 'importlib'

Dodji Seketeli dodji@seketeli.org
Tue Dec 21 13:31:11 GMT 2021


Thomas Schwinge <thomas@codesourcery.com> a écrit:

> In the test logs, I've found a number of:
>
>     [...]/tests/mockfedabipkgdiff:42: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
>       import imp
>
> I've asked The Internet what to do about that, and this commit is the result.
> But beware: I'm not a Python wizard.
>
> 	* tests/mockfedabipkgdiff.in: Replace use of deprecated Python
> 	'imp' module with 'importlib'.
>
> CC: Chenxiong Qi <cqi@redhat.com>
> Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>

Applied to master. Thanks!

[...]

Cheers,

-- 
		Dodji


More information about the Libabigail mailing list