Package: apt-listchanges Version: 2.85.14 User: py3porters-de...@lists.alioth.debian.org Usertags: python3-patch-suggested X-Debbugs-CC: py3porters-de...@lists.alioth.debian.org Severity: wishlist Tags: patch
Hi maintainers, There has been an effort lately to port as many packages in Debian to Python 3 as possible, since Python 2's EOL is only 5 years away. I decided to have a go at this and migrate apt-listchanges. The source for my port is currently on GitHub (https://github.com/GLolol/apt-listchanges), and the diff is here: https://github.com/GLolol/apt-listchanges/compare/upstream...debian-sid Some of the things I did were: - Migrating from python-gtk2\python-glade2 to python3-gi, since only the latter has support for Python 3 - Fixing imports (both manually and automatically via 2to3) - Fixing the str/bytes difference in Python 3 - some instances of string decoding were removed since Python 3 already assumes Unicode for strings. Also, a minor translation update from Alexandre Detiste is included. This effectively drops Python 2 support. As nothing in Debian relies on the internal code of apt-listchanges, so this shouldn't be needed. Best, James