Package: python3-pil
Version: 8.3.2-1
Severity: normal
X-Debbugs-Cc: deb...@microjoe.org

Dear Maintainer,

Since Python 3.10 has been introduced in Debian, I cannot build packages
that Build-Depends on python3-pil:

    Python 3.10.0+ (default, Nov 17 2021, 06:49:13) [GCC 11.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from PIL import Image
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python3/dist-packages/PIL/Image.py", line 114, in <module>
        from . import _imaging as core
    ImportError: cannot import name '_imaging' from 'PIL' 
(/usr/lib/python3/dist-packages/PIL/__init__.py)
    >>>

However it still works fine with Python 3.9:

    Python 3.9.9 (main, Nov 16 2021, 10:24:31)
    [GCC 11.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from PIL import Image
    >>>

Best regards.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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-pil depends on:
ii  libc6                2.32-4
ii  libfreetype6         2.11.0+dfsg-1
ii  libimagequant0       2.12.2-1.1
ii  libjpeg62-turbo      1:2.1.1-2
ii  liblcms2-2           2.12~rc1-2
ii  libopenjp2-7         2.4.0-3
ii  libraqm0             0.7.0-4
ii  libtiff5             4.3.0-2
ii  libwebp6             0.6.1-2.1
ii  libwebpdemux2        0.6.1-2.1
ii  libwebpmux3          0.6.1-2.1
ii  libxcb1              1.14-3
ii  mime-support         3.66
ii  python3              3.9.8-1
ii  python3-pil.imagetk  8.3.2-1
ii  zlib1g               1:1.2.11.dfsg-2

Versions of packages python3-pil recommends:
ii  python3-olefile  0.46-3

Versions of packages python3-pil suggests:
pn  python-pil-doc  <none>

-- no debconf information

Reply via email to