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

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 2021-12-15 00:10 +0100
Message-ID <Dup5L-85n-3@gated-at.bofh.it> (permalink)
References <Dumrg-6qZ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | 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