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


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

Re: The python command in Debian

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!aioe.org!bofh.it!news.nic.it!robomod
From "Nicolas Dandrimont" <olasd@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: The python command in Debian
Date Thu, 17 Sep 2020 15:20:02 +0200
Message-ID <AQ1Zo-1x2-15@gated-at.bofh.it> (permalink)
References <AqEMF-3CH-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Sep 17 13:11:40 2020
Old-Return-Path <olasd@debian.org>
X-Amavis-Spam-Status No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -3.5
X-Greylist delayed 402 seconds by postgrey-1.36 at bendel; Thu, 17 Sep 2020 13:11:26 UTC
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rkEw0m 6riW5TS3HfOmbLf9pANOxgcXoe4lc8AjGNsN8=; b=IB7cJrP2W7JyIfrd/IFU4X wz9UA2R8xtTRWYfAGJ6Ejdnw5luEekbx6Wl4bQrhivmUHjPnPffotR0K0KbtLla/ h8NjTFwRvYDPIviFVwmqMS4F9T39HNssjpk3RNI/92cK/5dz0H+W5Js6xqY3565o 32P8DQ9pkGKuNSVNWgTcH1x/VJb3UKZ/CW9M9uIXkdQ9jX4NCSIyk6rBQpWYOqCP SfkgA4KjR0nUBkDMkXXXB601gVdjL0op3hiltw6qBkxSdYOLkA8ccBjk/H3MKWos j+O7qAyE0M2bBmT+FKVZ6eSoV+aapKiBxBkxe37wiKpRtZp7fHqYLbwyES2C00aQ ==
X-Me-Sender <xms:515jX2-JEg2pxdVeO2wGh3bC-fYneY6cqtEisA4iTCN84DLhYeRC4A> <xme:515jX2taqHSJKweQU5FSx39RvufKhlhDZrz80gYhqNecW7R_Kb7ciPNiSh5kGXi-f Eua_pqksYWYUaEIO4Q>
X-Me-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgedujedrtdeggdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdfpihgtohhlrghsucffrghnughrihhmohhnthdfuceoohhl rghsugesuggvsghirghnrdhorhhgqeenucggtffrrghtthgvrhhnpeejudetffejtedvff eikeegjedufeegtdetleffvedvteehkeefveffudefhedttdenucffohhmrghinhepuggv sghirghnrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepohhlrghsugesuggvsghirghnrdhorhhg
X-Me-Proxy <xmx:515jX8D57ggMxpComMwDqNq3d84Y7poXArnqeu3Nivsbr67zSz3EHw> <xmx:515jX-dCBoQTP4c2xplEB6qjO8AS3wqs1XxA7IFBrTSh71dxmX_gZg> <xmx:515jX7PK_RGlLrGg6NkxfWGJf9ndRsDXUiyR5UnA14RuLcJi4Xtckg> <xmx:515jXxvVHgPewiSzQlzu-EtV3JO6Ilp76hH8EMjSJTKBNTOsbkD6VT5YgRQ>
X-Mailer MessagingEngine.com Webmail Interface
User-Agent Cyrus-JMAP/3.3.0-324-g0f99587-fm-20200916.004-g0f995879
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18634
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/920ebd4f-8cc8-4b4f-b468-c214911cc1f6@www.fastmail.com
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 17 Sep 2020 15:04:18 +0200
X-Original-Message-ID <920ebd4f-8cc8-4b4f-b468-c214911cc1f6@www.fastmail.com>
X-Original-References <8658a8a4-82fb-030d-57d8-81c95ba5158e@debian.org>
Xref csiph.com linux.debian.maint.python:12881

Show key headers only | View raw


Hi Matthias, others,

On Thu, Jul 9, 2020, at 15:26, Matthias Klose wrote:
> As written in [1], bullseye will not see unversioned python packages and the
> unversioned python command being built from the python-defaults package.
> 
> It seems to be a little bit more controversial what should happen to the python
> command in the long term.  Some people argue that python should never point to
> python3, because it's incompatible, however Debian will have difficulties to
> explain that decision to users who start with Python3 and are not aware of the 2
> to 3 transition.  So yes, in the long term, Debian should have a python command
> again.
> 
> One solution could be not to ship the python command in bullseye, forcing users
> to adjust their local installations.  This has the advantage that the error of
> an unknown interpreter should be pretty clear.  But leaves users without a
> python command for the next two years until bullseye+1.
> 
> Describing here a solution which is implemented for Ubuntu focal (20.04 LTS).  A
> new source package what-is-python (-perl-dont-hurt-me) ships binary packages
> python-is-python2, python-dev-is-python2, python-is-python3 and
> python-dev-is-python3.  The python-is-python2 package provides the python
> package, such that packages that still depend on python are not removed on a
> distro upgrade.  On new installs, python-is-python3 is not installed by default,
> but the user gets a hint from command-not-found to install the package if he
> tries to run python.  Package dependencies on the new four binary packages have
> to be disallowed in the Python policy.  Note that such a package including the
> Provides should only be uploaded once all dependencies on the unversioned python
> packages are gone.

So I see that the removal of `/usr/bin/python`-shipped-by-python-defaults has happened as planned. Thanks!

I've just got a friend ask me about what to do to get /usr/bin/python to point at python3; Do you have any plan of uploading what-is-python for use in bullseye, at least without the python-is-python2 Provides for python as a first step (to keep the current "breakage")?

In any case I think the python packaging policy at https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html should get an update to match the current status quo related to /usr/bin/python; My friend looked at it and were confused not to find a /usr/bin/python anymore.

Thanks,
-- 
Nicolas Dandrimont

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


Thread

The python command in Debian Matthias Klose <doko@debian.org> - 2020-07-09 15:30 +0200
  Re: The python command in Debian Jeremy Stanley <fungi@yuggoth.org> - 2020-07-09 19:00 +0200
    Re: The python command in Debian paultag@debian.org - 2020-07-09 19:50 +0200
  Re: The python command in Debian Ondrej Novy <novy@ondrej.org> - 2020-07-09 21:50 +0200
    Re: The python command in Debian Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2020-07-13 18:30 +0200
      Re: The python command in Debian Matthias Klose <doko@debian.org> - 2020-07-13 19:30 +0200
        Re: The python command in Debian Ondrej Novy <novy@ondrej.org> - 2020-07-14 11:00 +0200
          Re: The python command in Debian Piotr Ożarowski <piotr@debian.org> - 2020-07-14 11:20 +0200
            Re: The python command in Debian Rene Engelhard <rene.engelhard@mailbox.org> - 2020-07-18 08:50 +0200
              Re: The python command in Debian Sebastian Humenda <shumenda@gmx.de> - 2020-07-18 10:30 +0200
                Re: The python command in Debian debacle@debian.org - 2020-07-18 10:40 +0200
                Re: The python command in Debian Dmitry Shachnev <mitya57@debian.org> - 2020-07-18 11:30 +0200
  Re: The python command in Debian Sandro Tosi <morph@debian.org> - 2020-07-16 18:10 +0200
  Re: The python command in Debian "Nicolas Dandrimont" <olasd@debian.org> - 2020-09-17 15:20 +0200
    Re: The python command in Debian Matthias Klose <doko@debian.org> - 2020-09-17 15:40 +0200
  Re: The python command in Debian Matthias Klose <doko@debian.org> - 2021-03-02 10:50 +0100

csiph-web