User:Yan12125/python3-conversion

From ArchWiki

loqs posted a list of packages that depend directly on python2 and corresponding notes about migration to Python 3 in https://bugs.archlinux.org/task/64700. I imported it as a wiki post as a preparation step for a TODO list.

Note: split python2 / python3 packages not included

has python3 support

Package Notes
apr
apr-util
bash-language-server
brotio06 does appear to need python; used by brotlipy (pending PR for migration to the latest brotli), which in turn is used by python-aiohttp (moved to Brotli in master), mitmproxy (moved to Brotli in master), python-urllib3 (movement to Brotli REJECTED), httpbin (pending PR for moving to Brotli)
bugzilla needs python2 for srv/http/bugzilla/contrib/jb2bz.py
code
doxygen
etckeeper needs bzr -> breezy first; Fedora patch available - see https://bugs.archlinux.org/task/62658
fcitx
fio https://bugs.archlinux.org/task/64782
gammu
gnome-menus
grafana make dependency node-gyp requires python2 but it might not in the latest version (requires checking).
graphviz has configure bug in python3 detection https://gitlab.com/graphviz/graphviz/issues/1626#note_242945293
gtkspell3 does not appear to need python
gucharmap does not appear to need python
hivex
human-icon-theme does not appear to need python
inn
git some python helper scripts are python2, patches where sent to the mailing list but not merged.
jq does not need python
libevdev
libevent
libgda
libgnome-keyring python2 is only used by tests that PKGBUILD does not run
libguestfs
libgusb does not appear to need python
libpqxx
libpst -I/usr/include/python3.8
libuhd
libvolk
magma
marisa regenerate python bindings with swig
mate-menus python support has been dropped
maxima
mediawiki
mercurial Python 3 officially supported since version 5.2. Python 3.8 mostly works, but there are a few known incompatibilities. See https://www.mercurial-scm.org/wiki/Python3.
mftrace
moosefs
munin-node
ncmpc lyrics support now only needs ruby?
nodejs
openconnect
pluma https://bugs.archlinux.org/task/64700
pylibacl
pynac
python2-fastimport
python2-pygame-sdl2
python2-pykka
python2-pyx 0.15
python2-tagpy 2018.1.1 fails check
python2-webpy 0.40
plan9port https://github.com/9fans/plan9port/commit/a18efdbab89f34ead735f572bb36b16a673dc265
salt https://bugs.archlinux.org/task/61129
repo
roundcubemail check chpass-wrapper.py works as expected under python3
rox ROX-Filer/src/po/tips.py is never called
rrdtool https://bugs.archlinux.org/task/69719
seabios Requires python2 on build: "python2 ./scripts/buildversion.py -e "" -t "cc;as;ld;objcopy;objdump;strip" out/autoversion.h"
texmacs
telepathy-farstream
telepathy-glib
tuxpaint seems to only be used to regenerate a supplied ttf and is not used by the PKGBUILD
vim-ultisnips
xpra https://bugs.archlinux.org/task/62819

new version expected by year end

  • apitrace

support is in master

Package Notes
ctemplate
faust
freedroidrpg
freeradius
gmock
inkscape
kresus
netpbm https://sourceforge.net/p/netpbm/code/2996/ https://sourceforge.net/p/netpbm/code/3033/
nss-pam-ldapd
opensips
patchage
singularity
unicorn https://github.com/unicorn-engine/unicorn/pull/1145 (merged)
vault
vim-latexsuite
wicd
xf86-video-qxl

none upstreamed patches

Package Notes
ardour https://tracker.ardour.org/view.php?id=7796 which resulted in https://github.com/Ardour/ardour/pull/459
cjdns https://src.fedoraproject.org/rpms/cjdns
dblatex https://src.fedoraproject.org/rpms/dblatex
grafana-zabbix yarn upgrade node-sass
gimp-help
gnome-doc-utils https://src.fedoraproject.org/rpms/gnome-doc-utils
libfes https://src.fedoraproject.org/rpms/fes/tree/master
libkate https://salsa.debian.org/multimedia-team/libkate/commit/7b9b99b5a99d1329cc40ef1d9bf5fef6347a664f drops tools and tests
libpgm https://src.fedoraproject.org/rpms/openpgm/tree/master
libxslt will build but bindings are python2 only; see also https://gitlab.gnome.org/GNOME/libxslt/issues/25, https://bugzilla.gnome.org/show_bug.cgi?id=701600
lilypond https://codereview.appspot.com/545370043 ; see also https://bugzilla.redhat.com/show_bug.cgi?id=1738015
mathomatic https://src.fedoraproject.org/rpms/mathomatic/tree/master
opensubdiv https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1151
python2-cjson https://github.com/AGProjects/python-cjson/issues/6
net-snmp https://src.fedoraproject.org/rpms/net-snmp

no patch available

Package Notes
0ad
automake check automake
avogadrolibs
bluefish https://sourceforge.net/p/bluefish/tickets/10/
bluegriffon tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499
bzr -> breezy https://bugs.archlinux.org/task/62658
chromium https://bugs.chromium.org/p/chromium/issues/detail?id=942720
clan
cloudprint-cups
csound optional https://github.com/csound/csound/issues/631
dia optional (only used in plugins) Python3 migration discussion: https://gitlab.gnome.org/GNOME/dia/issues/408
ecasound optional
ecryptfs-utils optional
efl optional
electron python2 build scripts, might work with python3? https://github.com/electron/electron/blob/master/script/lib/util.py#L19
electron2
electron4
electron5
electron6
epydoc
flatpak-builder check
folks https://gitlab.gnome.org/GNOME/folks/issues/107
gemrb https://github.com/gemrb/gemrb/issues/101
geda-gaf optional
getmail https://marc.info/?l=getmail&m=154049540214309
gif2png optional
gogglesmm optional
gtk-recordmydesktop
guitarix2 (make) upstream efforts tracked in https://sourceforge.net/p/guitarix/bugs/43/ which might result in switching to another build system, as the highly customized waf setup is too complicated to change
ipcheck
java11-openjfx disable compile webkit? May be fixed upstream, bugreport: https://github.com/javafxports/openjdk-jfx/issues/579
java8-openjfx disable compile webkit? May be fixed upstream, bugreport: https://github.com/javafxports/openjdk-jfx/issues/579
java-openjfx disable compile webkit? May be fixed upstream, bugreport: https://github.com/javafxports/openjdk-jfx/issues/579
jcl
jmc
john optional
kcachegrind optional
kross-interpreters optional
libappindicator split package
libdnet optional-> https://github.com/boundary/libdnet
libieee1284 optional
mailman -> mailman3 https://kanboard.archlinux.org/public/task/99/7dd7510424e4229247e8e0b90bf43e1553fce86cdf8475b60edc956ed5a8
marsyas optional
mcomix -> https://github.com/multiSnow/mcomix3
ming
mysql-python -> mysqlclient (a fork of mysql-python, appears to be API-compatible, Python 3 only since 2.0.0, and thus incompatible with mysql-workbench)
mysql-workbench
nodejs-lts-carbon
nodejs-lts-dubnium
nodejs-lts-erbium
non-daw optional
ntop -> ntopng
pidgin-talkfilters
purple-plugin-pack
pychecker
pydb
pypanel
pypy replace python2 with pypy in makedepends? That's how upstream suggests, too (https://doc.pypy.org/en/latest/build.html)
pypy3 replace python2 with pypy in makedepends?
pyrex
pyrit
pysol
python2-backports not needed for python 3
python2-cheetah -> python-cheetah3
python2-egenix-mx-base
python2-gdata -> https://github.com/dvska/gdata-python3/
python2-gnutls
python2-mpd
python2-numarray
python2-oauth
python2-openid -> https://github.com/necaris/python3-openid / https://pypi.org/project/python-openid2/
python-pywal optional
pyzy
opera-ffmpeg-codecs
qt5
raul
refind-efi
renpy https://github.com/renpy/renpy/issues/2003
rdiff-backup -> https://github.com/rdiff-backup/rdiff-backup
rtaudio https://github.com/thestk/rtaudio/issues/199
seamonkey tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499 https://bugzilla.mozilla.org/show_bug.cgi?id=1756371
sgmltools-lite
singular optional
skia-sharp
skktools optional
spectmorph optional
spambayes
spring optional
telepathy-gabble
telepathy-haze
telepathy-idle
telepathy-logger
telepathy-logger-qt
telepathy-salut
tellico https://bugzilla.redhat.com/show_bug.cgi?id=1738164
texlive-core optional
texline-music optional https://www.mail-archive.com/lilypond-user@gnu.org/msg136853.html
txt2tags https://pypi.org/project/txt2tags/
uwsgi https://src.fedoraproject.org/rpms/uwsgi/c/c358b506e78c059c2f543a2c1dfebbb2282d5962?branch=master
wesnorth https://github.com/wesnoth/wesnoth/issues/1508
wifite -> https://github.com/derv82/wifite2
wren
xmms2
zn_poly
zziplib

to check

Package Notes
cozy-desktop seems to build with python3
julia seems to build with python3
kodi
mediaproxy
python2-cherrypy
pacparser
ptex looks simple to fix. only has a python test script that isn't used (anymore), builds without python2 installed
subversion
shedskin

Done

Package Notes
ascidoc Switched to https://github.com/asciidoc/asciidoc-py3 in https://github.com/archlinux/svntogit-community/commit/fc9154198367230a6cf7bf6b495376450379e334#diff-8d0411b338c83cd8cd8ad9d9db127101
firefox Done https://github.com/archlinux/svntogit-packages/commit/49f79b4bc7dd7f8caf4d1629c008afd94f43b9e9#diff-8d0411b338c83cd8cd8ad9d9db127101
gconf dropped https://www.archlinux.org/todo/phasing-out-gconf-and-libglade/
kig https://github.com/KDE/kig/commit/c0aa768f28219ce8b3c275a6d13ad69757e3c7af.patch; Done in https://github.com/archlinux/svntogit-packages/commit/b4f76070c51f0e15d130bac855cab7a9bcfad58f
hydrogen upstream patches
js185 dropped https://www.archlinux.org/todo/remove-js185-from-the-repos/
libglade dropped https://www.archlinux.org/todo/phasing-out-gconf-and-libglade/
lvtk system waf
mopidy Switched to Python 3 in https://github.com/archlinux/svntogit-community/commit/fdf23cde00ec4a0436b97ecfef2460a4ca31bed1
fcitx-mozc Done in https://github.com/archlinux/svntogit-community/commit/c931a3360a390c2546a0125f076da3ba05e5a5bd#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a
python2-pychm 0.8.5 -- upstream released a python3-compatible version which is now packaged, py2 still needed by reverse deps
scribus Switched to Python 3 in https://github.com/archlinux/svntogit-community/commit/7d64aa6e682ab80d2e501bf4199f6af8cb9c732f#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a
thunderbird https://github.com/archlinux/svntogit-packages/commit/c9a62a75a7b3ae537bb723bb0c5b30277fdd01a0
thunderbird-extension-enigmail upstream ported to python3 in version 2.1.4
tut dropped in https://github.com/archlinux/svntogit-community/commit/6f9f9ac858805eb273ac2d796fd06a587bdb3384