[pt-br] Update translation bits.
[tails-test.git] / wiki / src / blueprint / python3.mdwn
blobe598bcc731f842d9af2efa59c73ee55e3d98ecdc
1 [[!meta title="Python 3"]]
3 We'll need to migrate our custom programs to Python 3. First of all,
4 we need to make sure all the Python 3 libraries we need are in Jessie:
5 [[!tails_ticket 5875]], [[!tails_ticket 6175]].
7 [[!toc levels=2]]
9     $ git grep "^ *import " config/
10     $ git grep "^ *from [^ -]* import " config/
12 # Main Git repository
14 Modules not included in standard library follow:
16 ## config/chroot_local-includes/etc/whisperback/config.py
18 None
20 ## config/chroot_local-includes/usr/local/bin/lc.py
22 None
24 ## config/chroot_local-includes/usr/local/bin/shutdown_helper_applet
26 - `gtk`: deprecated, replaced by `python3-gi` and `gir1.2-gtk-3.0`
27 - `gnomeapplet`: deprecated, replaced by `python3-gi` and `gir1.2-panelapplet-4.0`
29 ## config/chroot_local-includes/usr/local/bin/tails-about
31 - `gtk`: deprecated, replaced by `python3-gi` and `gir1.2-gtk-3.0`
33 ## config/chroot_local-includes/usr/local/sbin/autotest_remote_shell.py
35 - `serial`: OK, `python3-serial`
37 ## config/chroot_local-includes/usr/local/sbin/boot-profile
39 - `pyinotify`: OK, `python3-pyinotify`
41 ## config/chroot_local-includes/usr/local/sbin/tails-additional-software
43 - `posix1e`: OK, `python3-pylibacl`
45 # Tails Greeter
47 * `pycountry`: **no Python 3 version in Debian**; upstream supports python3 since version 0.15 (https://pypi.python.org/pypi/pycountry)
48 - `icu`: OK, `python3-icu`
50 # Tails Installer
52 - `configobj`: **no Python 3 version in Debian**; upstream supports python3 since version 5.0.0 (https://github.com/DiffSK/configobj/blob/b75f39b4e44f6e6ce422921a8734169a4324f223/docs/configobj.rst)
53 - `StringIO`: the `StringIO` module is included in the stdlib, and
54   available in python3 as `io.StringIO` or `io.BytesIO`
55 - `PyQt4`: OK, `python3-pyqt4`
56 - `dbus`: OK, `python3-dbus`
57 - `parted`: OK, `python3-parted`
58 - `urlparse`: renamed `urllib.urlparse`
60 # WhisperBack
62 - `GnuPGInterface`: **no python3 version, unmaintained**; replace it
63   with [Isis's fork](https://github.com/isislovecruft/python-gnupg)?
64   (ITP: [[!debbug 754120]])
65 - `gtk`: deprecated, replaced by `python3-gi` and `gir1.2-gtk-3.0`
66 - `gobject`: deprecated, replaced by `python3-gi`
67 - `webkit`: deprecated, replaced by `python3-gi` and `gir1.2-webkit-3.0`
68 - `gnutls`: **no python3 version**; seems replaced by <https://gitorious.org/pygnutls> but we might not need it anymore
69 - `urlparse`: renamed `urllib.urlparse`