From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by sourceware.org (Postfix) with ESMTPS id A0AB13858C2C for ; Tue, 21 Dec 2021 13:31:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A0AB13858C2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=seketeli.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seketeli.org Received: (Authenticated sender: dodji@seketeli.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E70E1E0008; Tue, 21 Dec 2021 13:31:12 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 20CC5581C2E; Tue, 21 Dec 2021 14:31:11 +0100 (CET) From: Dodji Seketeli To: Thomas Schwinge Cc: libabigail@sourceware.org Subject: Re: [PATCH] Replace use of deprecated Python 'imp' module with 'importlib' Organization: Me, myself and I References: <20211217222631.2541972-1-thomas@codesourcery.com> X-Operating-System: Fedora 36 X-URL: http://www.seketeli.net/~dodji Date: Tue, 21 Dec 2021 14:31:11 +0100 In-Reply-To: <20211217222631.2541972-1-thomas@codesourcery.com> (Thomas Schwinge's message of "Fri, 17 Dec 2021 23:26:30 +0100") Message-ID: <87fsqm84ps.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2021 13:31:16 -0000 Thomas Schwinge a =C3=A9crit: > 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 al= ternative uses > import imp > > I've asked The Internet what to do about that, and this commit is the res= ult. > But beware: I'm not a Python wizard. > > * tests/mockfedabipkgdiff.in: Replace use of deprecated Python > 'imp' module with 'importlib'. > > CC: Chenxiong Qi > Signed-off-by: Thomas Schwinge Applied to master. Thanks! [...] Cheers, --=20 Dodji