Bug#1040316: python3-minimal fails to install

2023-07-06 Thread Luna Jernberg
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 >

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread 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.util -- you cannot and AFAIK never have been able to import the top-level package

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Chris
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)

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread LaDerrick H
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 ---

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Andreas Metzler
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) > > > >

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Luna Jernberg
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 >

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Blair Noctis
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=amd64=0.29.0%2Bds-1=1688470391=0 > > ... > Setting up python3-minimal (3.11.4-3) ... > Traceback (most recent call

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Chris
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,

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Andreas Tille
Hi, I can confirm this problem here in a clean unstable chroot. Kind regards Andreas. -- http://fam-tille.de

Bug#1040316: python3-minimal fails to install

2023-07-04 Thread Adrian Bunk
Package: python3-minimal Version: 3.11.4-3 Severity: grave https://buildd.debian.org/status/fetch.php?pkg=phoc=amd64=0.29.0%2Bds-1=1688470391=0 ... Setting up python3-minimal (3.11.4-3) ... Traceback (most recent call last): File "/usr/bin/py3compile", line 323, in main() File