public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Dropping Python 2
@ 2021-05-05 14:27 Michael Tremer
  2021-05-14 19:28 ` Dropping Python 2 (python-m2crypto) Adolf Belka
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Tremer @ 2021-05-05 14:27 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]

Hello,

I would like to talk about what has been discussed at the last developer conference call this week: Dropping Python 2

This version of Python has reached its end of life and will no longer receive any security fixes. Hence we need to get rid of it as soon as possible.

However, there is lots of software that still depends on it which has to be migrated away first.

There are at least the following packages:

boost
fetchmail
fireinfo
iotop
ipaddr
libxml2
libxslt
newt
nmap
python
python-clientform
python-daemon
python-distutils
python-distutils-extra
python-docutils
python-feedparser
python-inotify
python-ipaddress
python-m2crypto
python-mechanize
python-optional-src
python-pyparsing
python-rssdler
python-setuptools
python-six
python-typing

We also have the following scripts:

config/ca-certificates/certdata2pem.py
config/unbound/unbound-dhcp-leases-bridge

Fireinfo is written by us and has a lot of C which will make it a little bit more difficult to migrate. We would also have to be very careful to not change any behaviour of the current implementation.

The rest is probably either software that is entirely written in Python 2 or software that brings bindings for Python. The latter case is easy because we can either force it to build with Python 3 or we just disable the bindings.

Ultimately we might need to keep Python around in the build system if there are other packages that rely on it. However, it would be great if we were able to remove it from the distribution very soon. Looking at his list, it does not seem to be too difficult.

Would anyone be up to help and remove Python from any of those packages above? I would like to aim for Core Update 158 and remove as much stuff as possible - if we can everything - and then remove Python 2 in the update after that. If anyone has any custom scripts or applications, people will have some time to migrate away.

Best,
-Michael

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-06-02  9:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4E6F7814-66BE-4B68-A1DF-C45377AA2F31@ipfire.org>
2021-06-01 13:57 ` Dropping Python 2 (python-m2crypto) Adolf Belka
2021-06-02  9:41   ` Michael Tremer
2021-05-05 14:27 Dropping Python 2 Michael Tremer
2021-05-14 19:28 ` Dropping Python 2 (python-m2crypto) Adolf Belka
2021-05-15 21:03   ` Adolf Belka
2021-05-16 14:16     ` Adolf Belka
2021-05-20 10:15   ` Michael Tremer
2021-05-20 10:30     ` Adolf Belka
2021-05-20 11:21       ` Michael Tremer
2021-05-22 12:25     ` Adolf Belka
2021-05-25 10:03       ` Michael Tremer
2021-05-29 14:31         ` Jonatan Schlag
2021-05-29 16:19           ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox