Bug#936879: libinline-python-perl: Python2 removal in sid/bullseye

Damyan Ivanov dmn at debian.org
Fri Aug 30 09:59:35 BST 2019


Control: tag -1 patch

-=| Matthias Klose, 30.08.2019 07:23:37 +0000 |=-
> Package: src:libinline-python-perl
> Version: 0.56-1
> Severity: normal
> Tags: sid bullseye
> User: debian-python at 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.
> 
> - Convert your Package to Python3. This is the preferred option.  In
>   case you are providing a Python module foo, please consider dropping
>   the python-foo package, and only build a python3-foo package.  Please
>   don't drop Python2 modules, which still have reverse dependencies,
>   just document them.

This seemes so easy that I wonder whether it really worked. The 
changes involved:

 * replacing python-dev with python3-dev in build-dependencies
 * exporting INLINE_PYTHON_EXECUTABLE=/usr/bin/python3 in debian/rules

Build scceeded, including the non-trivial test suite. The resulting 
binary package depends on libpython3.7. Autopkgtests also pass.

-- dam



More information about the pkg-perl-maintainers mailing list