Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13780 > unrolled thread
| Started by | Andreas Tille <andreas@an3as.eu> |
|---|---|
| First post | 2021-12-14 21:20 +0100 |
| Last post | 2021-12-15 00:10 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.maint.python
[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
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2021-12-14 21:20 +0100 |
| Subject | [help] pymol: Deprecation warning during startup |
| Message-ID | <Dumrg-6qZ-3@gated-at.bofh.it> |
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'.
Any hint would be welcome
Andreas.
[1] https://salsa.debian.org/debichem-team/pymol/-/commit/66b5875cbc000870f3661c66a4578d4c58968446
[2] https://salsa.debian.org/debichem-team/pymol/-/jobs/2273661
--
http://fam-tille.de
[toc] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2021-12-14 23:20 +0100 |
| Message-ID | <Duojn-7zh-1@gated-at.bofh.it> |
| In reply to | #13780 |
[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
[toc] | [prev] | [next] | [standalone]
| From | Daniel Leidert <dleidert@debian.org> |
|---|---|
| Date | 2021-12-15 00:10 +0100 |
| Subject | Re: [Debichem-devel] [help] pymol: Deprecation warning during startup |
| Message-ID | <Dup5L-85n-3@gated-at.bofh.it> |
| In reply to | #13780 |
[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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web