Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10000

Python2 EOL and moving towards Python3

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.maint.python
Subject Python2 EOL and moving towards Python3
Date Wed, 13 Dec 2017 12:50:01 +0100
Message-ID <uWdHX-d9-5@gated-at.bofh.it> (permalink)
X-Original-To debian-python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Dec 13 11:44:56 2017
Old-Return-Path <doko@debian.org>
X-Amavis-Spam-Status No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.2
Old-X-Envelope-From doko@debian.org
Old-X-Envelope-To <debian-python@lists.debian.org>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15393
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/8bd4d695-bc3d-a5c6-9f17-4c1d744623c4@debian.org
Approved robomod@news.nic.it
Lines 45
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 13 Dec 2017 12:44:20 +0100
X-Original-Message-ID <8bd4d695-bc3d-a5c6-9f17-4c1d744623c4@debian.org>
Xref csiph.com linux.debian.maint.python:10000

Show key headers only | View raw


With the Python2 EOL finalized (https://pythonclock.org/) for 2020 it's again
time to ping/pester about getting packages ready for Python3.  The Python2 EOL
doesn't mean that Python2 will go away from the archive any time soon, however
even third party projects already have announced an EOL for supporting Python2
(like NumPy).  At DebCamp 2017, Stefano Rivera, Chris Lamb and I sat together to
identifiy packages which need work, and Chris implemented some new lintian flags
which are now all emitted as warnings.  The numbers are huge, however I plan to
file bug reports (one for earch source package) at some time, because bug
reports are much easier to have a status or a discussion, than just having
lintian tags.  It would be nice if people could identify false positives which
maybe can be fixed in lintian before filing bug reports for the packages.

The tags are:

https://lintian.debian.org/tags/build-depends-on-python-sphinx-only.html

546 tags, should be easily fixable, mostly packaging issues.  Are there any apps
like sphinx which should use Python3 instead of Python2?

https://lintian.debian.org/tags/alternatively-build-depends-on-python-sphinx-and-python3-sphinx.html

17 tags

https://lintian.debian.org/tags/new-package-should-not-package-python2-module.html

287 tags, at some point we maybe should make that an (overridable) lintian -F
flag, however there are applications packaged which are Python2 only.

https://lintian.debian.org/tags/python-foo-but-no-python3-foo.html

1212 tags. Should only be overridden if the package has Python3 functionality
under another name (like the gtk2 bindings stack).

https://lintian.debian.org/tags/dependency-on-python-version-marked-for-end-of-life.html

2212 tags (and lintian lab still running to add more ...)


Looks overwhelming, and people maybe should break down any planned work to some
subtask (like making some blends Python2 free), or getting Python2 off CD images.

Ideally we should end up with a list of packages which are not ported to Python3
upstream, and then see what should be done about a Python2 removal in 202x ...

Matthias

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Python2 EOL and moving towards Python3 Matthias Klose <doko@debian.org> - 2017-12-13 12:50 +0100
  RE:Python2 EOL and moving towards Python3 PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-12-13 14:40 +0100

csiph-web