Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13782

Re: [help] pymol: Deprecation warning during startup

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Andrey Rahmatullin <wrar@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: [help] pymol: Deprecation warning during startup
Date Tue, 14 Dec 2021 23:20:01 +0100
Message-ID <Duojn-7zh-1@gated-at.bofh.it> (permalink)
References <Dumrg-6qZ-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Dec 14 22:12:35 2021
Old-Return-Path <wrar@debian.org>
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 <debian-python@lists.debian.org> archive/latest/19594
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <YbkWxGtvL5VQguyA@belkar.wrar.name>
X-Original-References <Ybj727T6dBkUqAE4@an3as.eu>
Xref csiph.com linux.debian.maint.python:13782

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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.  Unfortunately
> Salsa-CI[2] shows a new issue
> 
>    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 attribute 'util'.
As you can see in sys.modules, some modules are imported by default in
some circumstabces. You shouldn't depend on that.

-- 
WBR, wRAR

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[help] pymol: Deprecation warning during startup Andreas Tille <andreas@an3as.eu> - 2021-12-14 21:20 +0100
  Re: [help] pymol: Deprecation warning during startup Andrey Rahmatullin <wrar@debian.org> - 2021-12-14 23:20 +0100
  Re: [Debichem-devel] [help] pymol: Deprecation warning during  startup Daniel Leidert <dleidert@debian.org> - 2021-12-15 00:10 +0100

csiph-web