This is now fixed :)
Den tis 4 juli 2023 kl 21:27 skrev Eli Schwartz :
>
> This bug seems to have been caused by
> https://salsa.debian.org/cpython-team/python3-defaults/-/commit/8e243207fee371a7335674fc77db63044b62cb29
>
> It migrated from imp to importlib, but importlib doesn't imply
> importlib
This bug seems to have been caused by
https://salsa.debian.org/cpython-team/python3-defaults/-/commit/8e243207fee371a7335674fc77db63044b62cb29
It migrated from imp to importlib, but importlib doesn't imply
importlib.util -- you cannot and AFAIK never have been able to import
the top-level package
Confirmed. Patch seems to work.
On 7/4/23 13:10, Andreas Metzler wrote:
On 2023-07-04 Blair Noctis wrote:
On Tue, 04 Jul 2023 14:37:49 +0300 Adrian Bunk wrote:
[...]
result = self._execute('import importlib;
print(importlib.util.MAGIC_NUMBER)', version)
I experienced the same bug but worked around it by replacing
/usr/share/python3/debpython/interpreter.py with a version from a system
with "python3-minimal/unstable,now 3.11.4-1 amd64" installed.
Here's the diff:
diff -Naur /usr/share/python3/debpython/interpreter.py interpreter.py
--- /usr/share/
On 2023-07-04 Blair Noctis wrote:
> On Tue, 04 Jul 2023 14:37:49 +0300 Adrian Bunk wrote:
[...]
> > result = self._execute('import importlib;
> > print(importlib.util.MAGIC_NUMBER)', version)
> >
> > ^^
Having this problem too :( on Debian unstable on ARM64
Den tis 4 juli 2023 kl 17:18 skrev Andreas Tille :
>
> Hi,
>
> I can confirm this problem here in a clean unstable chroot.
>
> Kind regards
> Andreas.
>
> --
> http://fam-tille.de
>
On Tue, 04 Jul 2023 14:37:49 +0300 Adrian Bunk wrote:
> Package: python3-minimal
> Version: 3.11.4-3
> Severity: grave
>
> https://buildd.debian.org/status/fetch.php?pkg=phoc&arch=amd64&ver=0.29.0%2Bds-1&stamp=1688470391&raw=0
>
> ...
> Setting up python3-minimal (3.11.4-3) ...
> Traceback (most
Package: python3-minimal
Version: 3.11.4-3
Followup-For: Bug #1040316
Setting up python3-minimal (3.11.4-3) ...
Traceback (most recent call last):
File "/usr/bin/py3compile", line 323, in
main()
File "/usr/bin/py3compile", line 294, in main
compile(files, compile_versions, options.fo
Hi,
I can confirm this problem here in a clean unstable chroot.
Kind regards
Andreas.
--
http://fam-tille.de
Package: python3-minimal
Version: 3.11.4-3
Severity: grave
https://buildd.debian.org/status/fetch.php?pkg=phoc&arch=amd64&ver=0.29.0%2Bds-1&stamp=1688470391&raw=0
...
Setting up python3-minimal (3.11.4-3) ...
Traceback (most recent call last):
File "/usr/bin/py3compile", line 323, in
main(
10 matches
Mail list logo