Bug#943159: libtext-markup-perl: Python2 removal in sid/bullseye

gregor herrmann gregoa at debian.org
Thu Oct 24 20:20:26 BST 2019


On Wed, 23 Oct 2019 02:33:28 +0000, morph at debian.org wrote:

> Your package either build-depends, depends on Python2, or uses Python2
> in the autopkg tests (the specific reason can be found searching this
> source package in
> https://people.debian.org/~morph/mass-bug-py2removal_take2.txt ).
> Please stop using Python2, and fix this issue by one of the following
> actions.

It's in Build-Depends-Indep and Recommends because one conversion is
done with a python script (from Text::Markup::Rest).

What needs to be changed is, after a quick look:
- update d/control: python -> python3, python3-docutils
- tell lib/Text/Markup/Rest.pm to look for python3
- and the interesting part: port lib/Text/Markup/rst2html_lenient.py
  (yes the perl package ships a python script) from python2 to
  python3
 
I've pushed a branch called 943159-python3 to our repo, but this needs
review of the python part, as it's currently only based on trial and
error, search engine results, and 2to3.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Dido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20191024/a526f7c0/attachment.sig>


More information about the pkg-perl-maintainers mailing list