Package: apt-listchanges
Version: 4.8
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

On Debian 13 (trixie), running:

    python3 -m pip check

reports:

    apt-listchanges 4.8 requires debconf, which is not installed.

However, debconf and python3-debconf are both correctly installed:

    apt-listchanges: install ok installed 4.8
    debconf: install ok installed 1.5.91
    python3-debconf: install ok installed 1.5.91

The Python debconf module is also present and imports successfully:

    python3 -c 'import debconf; print(debconf.__file__)'

Output:

    /usr/lib/python3/dist-packages/debconf.py

In addition:

    sudo apt-get check

completes successfully without reporting broken Debian package dependencies.

The apparent cause is the Python package metadata of apt-listchanges.
apt-listchanges declares debconf as a Python distribution dependency, but
debconf is provided by Debian and is not installed as a normal PyPI
distribution with metadata that pip recognizes.

As a result, pip check reports debconf as missing even though the Debian
package and Python module are correctly installed.

Expected result:
pip check should not report debconf as missing when the Debian dependency
is correctly satisfied.

Actual result:
pip check reports:

    apt-listchanges 4.8 requires debconf, which is not installed.

Please consider adjusting the Python dependency metadata so that the
Debian-specific debconf dependency does not cause this false-positive
pip check result.

No local modifications have been made to the Debian Python packages or
their metadata.

-- Package-specific info:
==> /etc/apt/listchanges.conf <==
[apt]
frontend=pager
which=news
email_address=root
email_format=text
confirm=false
headers=false
reverse=false
save_seen=/var/lib/apt/listchanges


-- System Information:
Debian Release: 13.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.101+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-listchanges depends on:
ii  apt                    3.0.3
ii  debconf [debconf-2.0]  1.5.91
ii  python3                3.13.5-1
ii  python3-apt            3.0.0
ii  python3-debconf        1.5.91
ii  sensible-utils         0.0.25
ii  ucf                    3.0052

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
pn  default-mta | mail-transport-agent  <none>
ii  firefox-esr [www-browser]           140.14.0esr-1~deb13u1
ii  google-chrome-stable [www-browser]  152.0.7977.64-1
ii  konqueror [www-browser]             4:25.04.0-1
ii  konsole [x-terminal-emulator]       4:25.04.2-1
ii  lynx [www-browser]                  2.9.2-1
ii  python3-gi                          3.50.0-4+b1
ii  xterm [x-terminal-emulator]         398-1

-- debconf information excluded

Reply via email to