Difference between revisions of "User:Yan12125/python3-conversion"

From ArchWiki
Jump to navigation Jump to search
(Update status for opensubdiv - no commits on master since the mentioned patch is proposed)
m (Added salt to python packages with official python 3 support)
 
(20 intermediate revisions by 6 users not shown)
Line 101: Line 101:
 
|-
 
|-
 
| python2-fastimport
 
| python2-fastimport
|-
 
| python2-pychm || 0.8.5 -- upstream released a python3-compatible version which is now packaged, py2 still needed by reverse deps
 
 
|-
 
|-
 
| python2-pygame-sdl2
 
| python2-pygame-sdl2
Line 109: Line 107:
 
|-
 
|-
 
| python2-pyx || 0.15
 
| python2-pyx || 0.15
|-
 
| python2-ruamel.yaml
 
 
|-
 
|-
 
| python2-tagpy || 2018.1.1 fails check
 
| python2-tagpy || 2018.1.1 fails check
Line 117: Line 113:
 
|-
 
|-
 
| plan9port || https://github.com/9fans/plan9port/commit/a18efdbab89f34ead735f572bb36b16a673dc265
 
| plan9port || https://github.com/9fans/plan9port/commit/a18efdbab89f34ead735f572bb36b16a673dc265
 +
|-
 +
| salt
 
|-
 
|-
 
| repo
 
| repo
Line 160: Line 158:
 
|-
 
|-
 
| gmock
 
| gmock
|-
 
| hydrogen
 
 
|-
 
|-
 
| inkscape
 
| inkscape
|-
 
| kig || https://github.com/KDE/kig/commit/c0aa768f28219ce8b3c275a6d13ad69757e3c7af.patch
 
 
|-
 
|-
 
| kresus
 
| kresus
|-
 
| lvtk
 
|-
 
| mopidy
 
 
|-
 
|-
 
| netpbm
 
| netpbm
Line 185: Line 175:
 
| singularity
 
| singularity
 
|-
 
|-
| unicorn || https://github.com/unicorn-engine/unicorn/pull/1145
+
| unicorn || https://github.com/unicorn-engine/unicorn/pull/1145 (merged)
 
|-
 
|-
 
| vault
 
| vault
Line 196: Line 186:
 
|-
 
|-
 
|}
 
|}
 
  
 
== none upstreamed patches ==
 
== none upstreamed patches ==
Line 203: Line 192:
 
! Package !! Notes
 
! Package !! Notes
 
|-
 
|-
| ascidoc || https://src.fedoraproject.org/rpms/asciidoc see also https://github.com/asciidoc/asciidoc-py3
+
| ardour || https://tracker.ardour.org/view.php?id=7796 which resulted in https://github.com/Ardour/ardour/pull/459
 +
|-
 +
| ascidoc || https://src.fedoraproject.org/rpms/asciidoc see also https://github.com/asciidoc/asciidoc-py3; upstream states that [https://github.com/asciidoc/asciidoc "development is being continued under @asciidoctor"], and asciidoctor is already in [community].
 
|-
 
|-
 
| cjdns || https://src.fedoraproject.org/rpms/cjdns
 
| cjdns || https://src.fedoraproject.org/rpms/cjdns
Line 209: Line 200:
 
| dblatex || https://src.fedoraproject.org/rpms/dblatex
 
| dblatex || https://src.fedoraproject.org/rpms/dblatex
 
|-
 
|-
| fcitx-mozc
+
| fcitx-mozc || https://github.com/google/mozc/issues/462 https://bugs.archlinux.org/task/65124
 
|-
 
|-
 
| grafana-zabbix || yarn upgrade node-sass
 
| grafana-zabbix || yarn upgrade node-sass
Line 222: Line 213:
 
|-
 
|-
 
| libpgm || https://src.fedoraproject.org/rpms/openpgm/tree/master
 
| 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
 
| lilypond || https://codereview.appspot.com/545370043 ; see also https://bugzilla.redhat.com/show_bug.cgi?id=1738015
Line 241: Line 234:
 
|-
 
|-
 
| 0ad
 
| 0ad
|-
 
| ardour || https://tracker.ardour.org/view.php?id=7796
 
 
|-
 
|-
 
| automake || check automake
 
| automake || check automake
Line 249: Line 240:
 
|-
 
|-
 
| bluefish || https://sourceforge.net/p/bluefish/tickets/10/
 
| 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
 
| bzr || -> breezy https://bugs.archlinux.org/task/62658
Line 260: Line 253:
 
| csound || optional https://github.com/csound/csound/issues/631
 
| csound || optional https://github.com/csound/csound/issues/631
 
|-
 
|-
| dia || optional
+
| dia || optional (only used in plugins)  Python3 migration discussion: https://gitlab.gnome.org/GNOME/dia/issues/408
 
|-
 
|-
 
| ecasound || optional
 
| ecasound || optional
Line 279: Line 272:
 
|-
 
|-
 
| epydoc
 
| epydoc
 +
|-
 +
| firefox || tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499
 
|-
 
|-
 
| flatpak-builder || check
 
| flatpak-builder || check
Line 295: Line 290:
 
|-
 
|-
 
| gtk-recordmydesktop
 
| 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
 
| ipcheck
 
|-
 
|-
| java11-openjfx || disable compile webkit?
+
| java11-openjfx || disable compile webkit? May be fixed upstream, bugreport: https://github.com/javafxports/openjdk-jfx/issues/579
 
|-
 
|-
| java8-openjfx || disable compile webkit?
+
| java8-openjfx || disable compile webkit? May be fixed upstream, bugreport: https://github.com/javafxports/openjdk-jfx/issues/579
 
|-
 
|-
| java-openjfx || disable compile webkit?
+
| java-openjfx || disable compile webkit? May be fixed upstream, bugreport: https://github.com/javafxports/openjdk-jfx/issues/579
 
|-
 
|-
 
| jcl
 
| jcl
Line 350: Line 347:
 
| pypanel
 
| pypanel
 
|-
 
|-
| pypy || use pypy3 =)
+
| 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
 
| pyrex
Line 394: Line 393:
 
| rtaudio || https://github.com/thestk/rtaudio/issues/199
 
| rtaudio || https://github.com/thestk/rtaudio/issues/199
 
|-
 
|-
| seamonkey
+
| seamonkey || tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499
 
|-
 
|-
 
| sgmltools-lite
 
| sgmltools-lite
Line 428: Line 427:
 
| texline-music || optional https://www.mail-archive.com/lilypond-user@gnu.org/msg136853.html
 
| texline-music || optional https://www.mail-archive.com/lilypond-user@gnu.org/msg136853.html
 
|-
 
|-
| thunderbird
+
| thunderbird || tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499
|-
 
| thunderbird-extension-enigmail
 
 
|-
 
|-
 
| txt2tags || https://pypi.org/project/txt2tags/
 
| txt2tags || https://pypi.org/project/txt2tags/
|-
 
| tut
 
 
|-
 
|-
 
| uwsgi || https://src.fedoraproject.org/rpms/uwsgi/c/c358b506e78c059c2f543a2c1dfebbb2282d5962?branch=master
 
| uwsgi || https://src.fedoraproject.org/rpms/uwsgi/c/c358b506e78c059c2f543a2c1dfebbb2282d5962?branch=master
Line 463: Line 458:
 
|-
 
|-
 
| cozy-desktop || seems to build with python3
 
| cozy-desktop || seems to build with python3
|-
 
| guitarix2 || (make)
 
 
|-
 
|-
 
| julia || seems to build with python3
 
| julia || seems to build with python3
 
|-
 
|-
 
| kodi
 
| kodi
|-
 
| libxslt || will build but bindings are python2 only
 
 
|-
 
|-
 
| mediaproxy
 
| mediaproxy
Line 478: Line 469:
 
| pacparser
 
| pacparser
 
|-
 
|-
| ptex || looks simple to fix
+
| ptex || looks simple to fix. only has a python test script that isn't used (anymore), builds without python2 installed
 
|-
 
|-
 
| subversion
 
| subversion
 
|-
 
|-
 
| shedskin
 
| shedskin
 +
|-
 +
|}
 +
 +
== Done ==
 +
 +
{| class="wikitable"
 +
! Package !! Notes
 +
|-
 +
| kig || https://github.com/KDE/kig/commit/c0aa768f28219ce8b3c275a6d13ad69757e3c7af.patch; Done in https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/kig&id=b4f76070c51f0e15d130bac855cab7a9bcfad58f
 +
|-
 +
| hydrogen || upstream patches
 +
|-
 +
| lvtk || system {{pkg|waf}}
 +
|-
 +
| mopidy || Switched to Python 3 in https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/mopidy&id=fdf23cde00ec4a0436b97ecfef2460a4ca31bed1
 +
|-
 +
| python2-pychm || 0.8.5 -- upstream released a python3-compatible version which is now packaged, py2 still needed by reverse deps
 +
|-
 +
| thunderbird-extension-enigmail || upstream ported to python3 in version 2.1.4
 +
|-
 +
| tut || dropped in https://git.archlinux.org/svntogit/community.git/commit/?h=packages/tut&id=6f9f9ac858805eb273ac2d796fd06a587bdb3384
 
|-
 
|-
 
|}
 
|}

Latest revision as of 22:13, 7 February 2020

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
repo
roundcubemail check chpass-wrapper.py works as expected under python3
rox ROX-Filer/src/po/tips.py is never called
rrdtool -I/usr/include/python3.8
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
nss-pam-ldapd
opensips
patchage
scribus
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
ascidoc https://src.fedoraproject.org/rpms/asciidoc see also https://github.com/asciidoc/asciidoc-py3; upstream states that "development is being continued under @asciidoctor", and asciidoctor is already in [community].
cjdns https://src.fedoraproject.org/rpms/cjdns
dblatex https://src.fedoraproject.org/rpms/dblatex
fcitx-mozc https://github.com/google/mozc/issues/462 https://bugs.archlinux.org/task/65124
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
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
firefox tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499
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)
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
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
thunderbird tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1473499
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

planned to be dropped

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
kig https://github.com/KDE/kig/commit/c0aa768f28219ce8b3c275a6d13ad69757e3c7af.patch; Done in https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/kig&id=b4f76070c51f0e15d130bac855cab7a9bcfad58f
hydrogen upstream patches
lvtk system waf
mopidy Switched to Python 3 in https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/mopidy&id=fdf23cde00ec4a0436b97ecfef2460a4ca31bed1
python2-pychm 0.8.5 -- upstream released a python3-compatible version which is now packaged, py2 still needed by reverse deps
thunderbird-extension-enigmail upstream ported to python3 in version 2.1.4
tut dropped in https://git.archlinux.org/svntogit/community.git/commit/?h=packages/tut&id=6f9f9ac858805eb273ac2d796fd06a587bdb3384