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


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

Re: The python command in Debian

From Ondrej Novy <novy@ondrej.org>
Newsgroups linux.debian.maint.python
Subject Re: The python command in Debian
Date 2020-07-14 11:00 +0200
Message-ID <AsoX7-2VA-1@gated-at.bofh.it> (permalink)
References <AqEMF-3CH-3@gated-at.bofh.it> <AqKIp-78B-1@gated-at.bofh.it> <As9v4-25Z-7@gated-at.bofh.it> <As9v3-25Z-5@gated-at.bofh.it> <Asar7-2Ge-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Hi,

po 13. 7. 2020 v 19:21 odesílatel Matthias Klose <doko@debian.org> napsal:

> On 7/13/20 6:23 PM, Fabrice BAUZAC-STEHLY wrote:
> > Hi,
> >
> > Another solution would be to simply use the update-alternatives system
> > to manage /usr/bin/python.  python3 would have a higher priority than
> > python2.  Users would still have the possibility to switch
> > /usr/bin/python to python2 explicitly if they require it...
>
> No, never ever. update-alternatives cannot be used because it breaks the
> dependency system.
>

no, it doesn't. If all Python2 packages will use /usr/bin/python2 and all
Python3 packages will use /usr/bin/python3, then /usr/bin/python can be
managed by update-alternatives. And because we really want all Python2
packages to use /usr/bin/python2, I think this is a viable option.

But TBH I don't think it's a good idea, because it can be confusing for
users.

-- 
Best regards
 Ondřej Nový

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