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


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

Re: [Debichem-devel] [help] pymol: Deprecation warning during startup

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Daniel Leidert <dleidert@debian.org>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: [Debichem-devel] [help] pymol: Deprecation warning during startup
Date Wed, 15 Dec 2021 00:10:01 +0100
Message-ID <Dup5L-85n-3@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 23:07:10 2021
Old-Return-Path <dleidert@debian.org>
X-Amavis-Spam-Status No, score=-12.363 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, PGPSIGNATURE=-5, SARE_MSGID_LONG40=0.637] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-/NSw81merIKmAyFZeCzf"
User-Agent Evolution 3.42.2-1
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19596
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/28cbaf441674ce72a5b098690c0a72b9bf7c5200.camel@debian.org
Approved robomod@news.nic.it
Lines 64
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc DebiChem Project <debichem-devel@lists.alioth.debian.org>
X-Original-Date Wed, 15 Dec 2021 00:06:53 +0100
X-Original-Message-ID <28cbaf441674ce72a5b098690c0a72b9bf7c5200.camel@debian.org>
X-Original-References <Ybj727T6dBkUqAE4@an3as.eu>
Xref csiph.com linux.debian.maint.python:13784 linux.debian.bugs.dist:1085720

Cross-posted to 2 groups.

Show key headers only | View raw


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

Am Dienstag, dem 14.12.2021 um 21:17 +0100 schrieb Andreas Tille:
> Hi,
> 
> 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'
> 
> which I do not understand at all since at command line there is the attribute
> 'util'.

importlib/util.py is part of libpython3.x-minimal, and while libpython3.10-
minimal gets installed, libpython3.9-minimal is not and it seems, python3.9 is
the default. So technically the error would be correct.

As I said in my other mail, maybe use

import importlib.util; ...

Not sure of that fixes your dependencies. You have to depend on the right
libpython3.x-minimal, it seems.

HTH Daniel
-- 
Regards,
Daniel Leidert <dleidert@debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert

Back to linux.debian.maint.python | Previous | Next — Previous 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