python3.mdwn 2.15 KB
Newer Older
Tails developers's avatar
Tails developers committed
1
[[!meta title="Python 3"]]
Tails developers's avatar
Tails developers committed
2

127.0.0.1's avatar
127.0.0.1 committed
3
Now that the missing libraries are in Jessie ([[!tails_ticket 5875]], [[!tails_ticket 6175]]), we need to migrate our custom programs to Python3.
Tails developers's avatar
Tails developers committed
4
5

[[!toc levels=2]]
Tails developers's avatar
Tails developers committed
6
7
8
9

    $ git grep "^ *import " config/
    $ git grep "^ *from [^ -]* import " config/

Tails developers's avatar
Tails developers committed
10
# Main Git repository
Tails developers's avatar
Tails developers committed
11

Tails developers's avatar
Tails developers committed
12
Modules not included in standard library follow:
Tails developers's avatar
Tails developers committed
13

127.0.0.1's avatar
127.0.0.1 committed
14
## ~~config/chroot_local-includes/etc/whisperback/config.py~~
Tails developers's avatar
Tails developers committed
15

127.0.0.1's avatar
127.0.0.1 committed
16
Was migrated to Python3 as part of WhisperBack (see below).
Tails developers's avatar
Tails developers committed
17

18
## ~~config/chroot_local-includes/usr/local/bin/lc.py~~
Tails developers's avatar
Tails developers committed
19

20
Was migrated to Python3 as part of [[https://labs.riseup.net/code/projects/tails/repository/revisions/2b2b6c76d10db733905fad978340150da3c920a4]] ([[!tails_ticket 10088]])
Tails developers's avatar
Tails developers committed
21

127.0.0.1's avatar
127.0.0.1 committed
22
## ~~config/chroot_local-includes/usr/local/bin/shutdown_helper_applet~~
Tails developers's avatar
Tails developers committed
23

127.0.0.1's avatar
127.0.0.1 committed
24
25
We will not use this applet in Tails/Jessie, so there is nothing to do.

Tails developers's avatar
Tails developers committed
26
- `gtk`: deprecated, replaced by `python3-gi` and `gir1.2-gtk-3.0`
Tails developers's avatar
Tails developers committed
27
28
- `gnomeapplet`: deprecated, replaced by `python3-gi` and `gir1.2-panelapplet-4.0`

Tails developers's avatar
Tails developers committed
29
## config/chroot_local-includes/usr/local/bin/tails-about
Tails developers's avatar
Tails developers committed
30

127.0.0.1's avatar
127.0.0.1 committed
31
Should be migrated to Python3: [[!tails_ticket 10083]]
127.0.0.1's avatar
127.0.0.1 committed
32

Tails developers's avatar
Tails developers committed
33
- `gtk`: deprecated, replaced by `python3-gi` and `gir1.2-gtk-3.0`
Tails developers's avatar
Tails developers committed
34

127.0.0.1's avatar
127.0.0.1 committed
35
## ~~config/chroot_local-includes/usr/local/lib/tails-autotest-remote-shell~~
Tails developers's avatar
Tails developers committed
36

127.0.0.1's avatar
127.0.0.1 committed
37
Ported to Python3.
Tails developers's avatar
Tails developers committed
38

39
## config/chroot_local-includes/usr/local/lib/boot-profile
Tails developers's avatar
Tails developers committed
40

127.0.0.1's avatar
127.0.0.1 committed
41
Should be migrated to Python3: [[!tails_ticket 10084]]
127.0.0.1's avatar
127.0.0.1 committed
42
43

* `pyinotify`: OK, `python3-pyinotify`
Tails developers's avatar
Tails developers committed
44

Tails developers's avatar
Tails developers committed
45
## config/chroot_local-includes/usr/local/sbin/tails-additional-software
Tails developers's avatar
Tails developers committed
46

47
48
Should be migrated to Python3: [[!tails_ticket 15067]]

127.0.0.1's avatar
127.0.0.1 committed
49
* `posix1e`: OK, `python3-pylibacl`
Tails developers's avatar
Tails developers committed
50

Tails developers's avatar
Tails developers committed
51
52
# Tails Greeter

127.0.0.1's avatar
127.0.0.1 committed
53
Should be migrated to Python3: [[!tails_ticket 5701]]
127.0.0.1's avatar
127.0.0.1 committed
54

55
* `pycountry`: OK, `python3-pycountry`
127.0.0.1's avatar
127.0.0.1 committed
56
* `icu`: OK, `python3-icu`
Tails developers's avatar
Tails developers committed
57
58
59

# Tails Installer

127.0.0.1's avatar
127.0.0.1 committed
60
Should be migrated to Python3: [[!tails_ticket 10085]]
127.0.0.1's avatar
127.0.0.1 committed
61

intrigeri's avatar
TODO++    
intrigeri committed
62
63
XXX: this list of dependencies is outdated.

64
- `configobj`: OK, `python3-configobj`
Tails developers's avatar
Tails developers committed
65
66
- `StringIO`: the `StringIO` module is included in the stdlib, and
  available in python3 as `io.StringIO` or `io.BytesIO`
67
68
69
70
- `PyQt4`: OK, `python3-pyqt4`
- `dbus`: OK, `python3-dbus`
- `parted`: OK, `python3-parted`
- `urlparse`: renamed `urllib.urlparse`
Tails developers's avatar
Tails developers committed
71

127.0.0.1's avatar
127.0.0.1 committed
72
# ~~WhisperBack~~
Tails developers's avatar
Tails developers committed
73

127.0.0.1's avatar
127.0.0.1 committed
74
Ported to Python3.