Hello, On Fri, Aug 30, 2019 at 07:24:29AM +0000, Matthias Klose wrote: > Package: src:libtorrent-rasterbar > Version: 1.1.13-1 > Severity: normal > Tags: sid bullseye > User: debian-pyt...@lists.debian.org > Usertags: py2removal > > Python2 becomes end-of-live upstream, and Debian aims to remove > Python2 from the distribution, as discussed in > https://lists.debian.org/debian-python/2019/07/msg00080.html > > Your package either build-depends, depends on Python2, or uses Python2 > in the autopkg tests. Please stop using Python2, and fix this issue > by one of the following actions. [...]
At first glance it seems like this package is affected simply because it builds python2 bindings (alongside python3 bindings). The python-libtorrent and python-libtorrent-dbg packages have no reverse dependencies and it seems like this could simply be fixed by dropping those packages, the python2 build-dependencies and the python2 machinery in debian/rules. Things are however not so simple. Once python2 is gone, the package no longer builds: dh_auto_clean: Please use the third-party "pybuild" build system instead of python-distutils dh_auto_clean: This feature will be removed in compat 12. Can't exec "pyversions": No such file or directory at /usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 124. dh_auto_clean: failed to run pyversions I assume the next step needed would be to convert from distutils to setuptools. Maybe there are other hidden gotchas after that as well. Hope this helps anyway. Regards, Andreas Henriksson