Package: python3.9
Version: 3.9.8-1
Severity: important
Control: affects -1 python3-typed-ast

Python 3.9.8 breaks python3-typed-ast:

% python3 -c 'from typed_ast import _ast3'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: 
/usr/lib/python3/dist-packages/typed_ast/_ast3.cpython-39-x86_64-linux-gnu.so: 
undefined symbol: _PyUnicode_DecodeUnicodeEscape

Downgrading to Python 3.9.7-4 fixes the problem.  This also happens with
typed-ast installed directly via pip in a virtualenv.

I'm not sure if this is a bug in Python or in typed-ast.  Starting here
under the assumption that patch releases should be backward-compatible
since this looks like a missing symbol problem in the libpython shared
library, but if typed-ast is doing something it shouldn't, perhaps this
should be reassigned.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-4-amd64 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3.9 depends on:
ii  libpython3.9-stdlib  3.9.7-4
ii  media-types          4.0.0
ii  mime-support         3.66
ii  python3.9-minimal    3.9.7-4

python3.9 recommends no packages.

Versions of packages python3.9 suggests:
ii  binutils        2.37-8
ii  python3.9-doc   3.9.8-1
ii  python3.9-venv  3.9.7-4

-- no debconf information

Reply via email to