Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.maint.python Subject: Re: [help] pymol: Deprecation warning during startup Date: Tue, 14 Dec 2021 23:20:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Dec 14 22:12:35 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IsjSXmx0iJNXXJyb" Content-Disposition: inline X-Mailing-List: archive/latest/19594 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/YbkWxGtvL5VQguyA@belkar.wrar.name Approved: robomod@news.nic.it Lines: 45 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 15 Dec 2021 03:12:20 +0500 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:13782 --IsjSXmx0iJNXXJyb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 14, 2021 at 09:17:31PM +0100, Andreas Tille wrote: > I think I've fixed the issue[1] and it works nicely at command line. Unf= ortunately > Salsa-CI[2] shows a new issue >=20 > AttributeError: module 'importlib' has no attribute 'util' You should explicitly import modules that you are using, such as `importlib.util`. > which I do not understand at all since at command line there is the attri= bute 'util'. As you can see in sys.modules, some modules are imported by default in some circumstabces. You shouldn't depend on that. --=20 WBR, wRAR --IsjSXmx0iJNXXJyb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmG5Fr4tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh NhEP/2jQp/OXL6sLzIEYPAJiiKq9TuQ/U6+alJ+HTOTfXWVXpo6Is89lu1XR+xF3 LHS9swKhBo4DNt9n7S6iIHpMNAoTvmvsvK5TWIZJHmnsNJ6iq8dpmo4703VTdesm CLyyL5bNmQkVB5XJcsnbb2reopOKpiZ9ITJXAhjZVekRYafglKDWt9nIcvTXPKig QVzoscNOVz6ORwe8yTjnKq5e2nT6Ny5LMzgAfwO5ZONIEXIAVmKOKPxUXlPhMlCH /0N+ktJFJ5wJWctwyv/EDUijR4ww460jWgPOFEn2F56uaoM8PMmA8jwzViV7ZhiJ nXILtPcH5sMmkeN9DtqNtLFoQzGg03KV/+z53m2bXhTypPkg28FRp4HSbVHzBeR0 TI7y/baKlwLAe6eLZLxM/Ash/wSRYOWEVb+24V9o53knC6B1hAY3aMOGkdsQl5Ww GbXSc6574IMzHtAJFc1OQ0sVGkOXLCTOg0Imd+If1cPgheLxs3HC1CisfMZSydKD Aof6COloM/vtzTy2kTICyX65fr9kbV94ra8yEdfvIaREwazdbBFkIkTHSoqBcfHS 7mdATADqn/bnYrGoDGPORZK044wGIJ0I4bmWIgAfS2gk72vd59iRy/8PmPmMDwzd oO4emK5ukFxn1C1tyC2qIYtmTsDOuk/zFpx822cWNaszAye2 =gQEn -----END PGP SIGNATURE----- --IsjSXmx0iJNXXJyb--