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


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

Python 2 and PyPy module removal from Debian

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Python 2 and PyPy module removal from Debian
Date Wed, 24 Jul 2019 01:40:02 +0200
Message-ID <yncxX-2L9-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Jul 23 23:35:52 2019
Old-Return-Path <ozarow@gmail.com>
X-Amavis-Spam-Status No, score=-11.749 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf1-x130.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=yWojbqsPh01wTYv2oCCWVZkHu/YlgZbRB29fVe8Vfo8=; b=BZ5a0rYT3qJDozkZk9DJR/GxhKEk+5A/PDcq+LNZNzpjTqO2xqW5UxcQ0q4f0/4m3d sEHTPRc5hSTDPBc/E4sbPR51ItGTZ1dmYMsu5NT+2eRi98ialqTLjusm7YWBprsb2KeY pRx5trD1uECvBuXlHig2W3EMMzHhB9JSzLO/D/Y4qM14HPzTi1BLwb7XxT4ghZiYyxlp W1+WNDjq+eGEvX/3K8ynm5GnohWXYpUdEzPkYG0hDHkXRnBnaD9ZDKgwMSpGBN869OXN aDDMvr72vEkMUH+1MsWFXvBZRnFklZmlEVJzHakmYWFKSGgfrIZGfuGTJCGVYaafTmtX 6+ww==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mail-followup-to:mime-version:content-disposition:user-agent; bh=yWojbqsPh01wTYv2oCCWVZkHu/YlgZbRB29fVe8Vfo8=; b=KzBPQlIHrbuVmjABwxM+1kjwybFasI/C5wOKo18/G2Ssvfbizu7+7pIMnZiC+hBd5W yDoDg95AR8bzmdLm9+GvSnXTg4OWElijPhGem1vhjLLNBoUovyKg7ERNXS1OJTEarKm8 VkGuSAZ+h7VDLvkf3Yr0wUaEZoDX9Aod5o+LwoM1LYKqX99IgY51yUuAV7yMhmgUG1df rD+j+ElwbL/BDeJ2wgTJfyKIbZmLPgaFoeTEf1es3j4GFOBaPCFWDDOcM1zCzg+UiMg9 5/EYKWmsOfNupeM5Tw46wncW8dElyXlEzf7/5CRz3K1EoIVY91OtNXE1KXTYkHDtERnS 5LRQ==
X-Gm-Message-State APjAAAXHzYB51W3pdzfqQvqFMNtdpEcBMpNSCDiOJJxXNBwm/28n8F8n RTjEvf553Y5NkhXb1zuVPxKI5WX7M38=
X-Google-SMTP-Source APXvYqye1I9mfstmsdmogLZ5CcHgJf0ENPeD6j5fXvbUIn3uH79uekZV8J689pIv9S6x9ob06DeIZQ==
X-Received by 2002:ac2:5a44:: with SMTP id r4mr2243981lfn.118.1563924937397; Tue, 23 Jul 2019 16:35:37 -0700 (PDT)
Sender robomod@news.nic.it
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hsy7rlfc66ey6ggg"
Content-Disposition inline
X-Operating-System Debian GNU/Linux (4.20.0-trunk-amd64)
User-Agent NeoMutt/20180716
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17017
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20190723233535.4l32alja5yleku5q@p1otr.com
Approved robomod@news.nic.it
Lines 113
Organization linux.* mail to news gateway
X-Original-Date Wed, 24 Jul 2019 01:35:35 +0200
X-Original-Message-ID <20190723233535.4l32alja5yleku5q@p1otr.com>
X-Original-Sender Piotr Ożarowski <ozarow@gmail.com>
Xref csiph.com linux.debian.maint.python:11522

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

During DebConf19 we¹ have tried to figure out how to manage Python 2 and PyPy
module removal from Debian and below is our proposal.
After discussing it on this mailing list we plan to send an email to
debian-devel@l.d.o with a mass bug report and later an announcement about
Python 2.X / PyPy module removal with some hints about what to expect to
debian-devel-announce@l.d.o.

There's a release tracker set up for Python 2 removal:
https://release.debian.org/transitions/html/python2-rm.html
but we plan to report a bug for each package that uses Python 2 or PyPy.

All these bugs will get "py2removal" usertag and later one or more additional
usertags - to make progress tracking a bit easier (release tracker is not
optimised for our case). Severity will be set to a RC one at some point so that
packages will be autoremoved from testing.

Additional tags we will use are:
• py2leaf - leaf package ready to be removed, i.e. without (build-)dependencies
  (including Recommends) in Debian main,
• py3available - Python 3 support is available upstream, package needs an
  update in Debian,
• py3noport - there's no upstream support for Python 3, needs a port done by us
  or package will be removed,
• py2keep - package that should not be removed for now (popcon >1000 by
  default). Please don't add this usertag without discussing it on the mailing
  list first,
• py2rm - packages that we will remove from Debian due to low popcon, etc.
  - all packages with popcon <100 will get this one by default

Each bug will mention wiki help page (which we invite you to improve):
https://wiki.debian.org/Python/2Removal


documentation
=============
Please keep the python-foo-doc package. Do not rename it to
python3-foo-doc. If python-foo was providing documentation: move it to
python3-foo or create python-foo-doc (not python3-foo-doc!) binary package.
If your package uses python-sphinx to build docs: replace it with
python3-sphinx.


missing dh-python build dependency
==================================
There are ≈62² packages that use old dh_python2 helper (the one provided by
python package). This helper will be removed in few months. Please add
dh-python to Build-Depends (if your package cannot be upgraded to Python 3 or
removed from Debian). Bug reports will be reported soon for these packages.

There are ≈11² packages that use dh_python3 but do not depend on dh-python.
python3 package will stop depending on dh-python soon, so please add missing
dependency.


Boost
=====
In the next Boost transition Python 2 and Python 3 will get separate -dev
packages. Please make sure you build-depend on the right one (and remove
Python 2.X support if possible).


DPMT / PAPT
===========
No need to wait for a bug report. If you have a leaf package, remove it now.
If you're not a DD, do it in the git repo and ping Piotr.


[¹] Dimitri, Matthias, Piotr, Stefano, Thomas
[²] https://lintian.debian.org/tags/missing-build-dependency-for-dh_-command.html

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


Thread

Python 2 and PyPy module removal from Debian Piotr Ożarowski <piotr@debian.org> - 2019-07-24 01:40 +0200
  Re: Python 2 and PyPy module removal from Debian Andrey Rahmatullin <wrar@debian.org> - 2019-08-15 15:30 +0200
  Re: Mass bug filing for Python2 removal in sid/bullseye Steve Cotton <steve@s.cotton.clara.co.uk> - 2019-08-30 17:30 +0200
    Re: Mass bug filing for Python2 removal in sid/bullseye Emmanuel Arias <emmanuelarias30@gmail.com> - 2019-08-30 17:50 +0200
      Re: Mass bug filing for Python2 removal in sid/bullseye Louis-Philippe Véronneau <pollo@debian.org> - 2019-08-30 18:50 +0200

csiph-web