Package: python3-graphviz
Version: 0.20.2-2
Severity: important
X-Debbugs-Cc: [email protected]

graphviz/saving.py:53 says
    @_tools.deprecate_positional_args(supported_number=1)
    def save(self, filename: typing …

which is wrong because of the "self". The number is intended to be 2.
This breaks build tests of unrelated packages, notably python3-transitions,
as this method is called from graphviz/rendering.py:118 with a positional
filename.

0.20.3 changes this to =2, while 0.21 adds an explicit "ignore self"
argument to the wrapper instead.

Thus: please package 0.21 for unstable; consider updating stable to 0.20.3
(or at least backport this fix).

Thank you.

-- System Information:
Debian Release: 13.0
  APT prefers stable
  APT policy: (750, 'stable'), (600, 'oldstable'), (500, 'stable-security'), 
(500, 'oldstable-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64, armhf

Kernel: Linux 6.12.35+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
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-graphviz depends on:
ii  graphviz  2.42.4-3
ii  python3   3.13.5-1

python3-graphviz recommends no packages.

python3-graphviz suggests no packages.

-- debconf-show failed

Reply via email to