[From nobody Sat May  9 18:37:05 2026
Received: (at submit) by bugs.debian.org; 22 Oct 2025 16:40:00 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-19.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,FOURLA,HAS_PACKAGE,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H5,
 RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
 RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,
 SPF_HELO_NONE,SPF_PASS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 29; hammy, 150; neutral, 113; spammy,
 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie, 
 0.000-+--stablesecurity, 0.000-+--stable-security,
 0.000-+--H*Ad:N*Bug
Return-path: &lt;jranke@uni-bremen.de&gt;
Received: from smtp.zfn.uni-bremen.de ([134.102.50.21]:48830)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;jranke@uni-bremen.de&gt;)
 id 1vBbsU-00GbG2-2d for submit@bugs.debian.org;
 Wed, 22 Oct 2025 16:40:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019;
 t=1761151192; bh=xwgHSD28ARM7meJh+AaUEFFgFJckheyffEbZ1pHaq3w=;
 h=From:To:Subject:Date;
 b=rMZ9mpUrggtN2ohvRAK3WudrcMaMFZN8ozxmbfESiNaJqmENpgG7mtzD6q5dW1DPn
 SGzzNRBFyFSG7bxAWbMckbip0thde3LdVhwNchX1UZv/ahxxnIMw0uc6r31zy3G2mT
 Vx6lZ4poTwdHXVOlxzl118ZQ1Hr7OkGXMG0aAw3Lfjx+SiLpXqXXAoYOLbLxMGYmmn
 Kr/SmMHtlgnHRRR97JqtxlchD1mVo9kdhnWLgpr3I47BZwTw0akLYjK+3u2ulB0irh
 6IMsiwx1YfieBh/69LF+5lK9JXTb8r+HLZpn/jjPoo8QBQc0RYEjh51jvrRk9bOZ0y
 ayT8JffkLvTjw==
Received: from [127.0.1.1] (unknown [178.197.211.172])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4csFJ81y2hzDCbv;
 Wed, 22 Oct 2025 18:39:52 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Johannes Ranke &lt;jranke@uni-bremen.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: python3-rdkit: Dependency python3-pil is missing
Message-ID: &lt;176115125952.17254.9999147660701577636.reportbug@slim&gt;
X-Mailer: reportbug 13.2.0
Date: Wed, 22 Oct 2025 18:40:59 +0200
X-FromAuthMilter: ok
Delivered-To: submit@bugs.debian.org

Package: python3-rdkit
Version: 202503.1-4
Severity: normal

Dear Maintainer,

On an Ubuntu system where python3-pil is not installed, I noticed that depicting
molecules in RStudio no longer works when using python3-rdkit. The error
message pointed at a missing PIL module.

On this Debian trixie system, I confirmed that molecules are correctly
depicted in a Jupyter notebook if python3-pil is installed, but if
it is not, I get an output like
&lt;rdkit.Chem.rdchem.Mol object at 0x7faaaaaa000&gt;
instead of a molecule depiction.

Therefore, I think python3-rdkit should have a dependency on python3-pil
in order to provide its molecule depiction functionality.

Cheers,

Johannes


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (15, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.48+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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-rdkit depends on:
ii  fonts-freefont-ttf                                   20211204+svn4273-2
ii  libboost-numpy1.83.0 [libboost-numpy1.83.0-py313]    1.83.0-4.2
ii  libboost-python1.83.0 [libboost-python1.83.0-py313]  1.83.0-4.2
ii  libboost-serialization1.83.0                         1.83.0-4.2
ii  libc6                                                2.41-12
ii  libcairo2                                            1.18.4-1+b1
ii  libcoordgen3                                         3.0.2-1+b2
ii  libgcc-s1                                            14.2.0-19
ii  librdkit1t64                                         202503.1-4
ii  libstdc++6                                           14.2.0-19
ii  python3                                              3.13.5-1
ii  python3-numpy [python3-numpy2-abi0]                  1:2.2.4+ds-1
ii  rdkit-data                                           202503.1-4

python3-rdkit recommends no packages.

Versions of packages python3-rdkit suggests:
pn  rdkit-doc  &lt;none&gt;

-- no debconf information
]