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


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

Re: Safest way to set python3 as default for `python`

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Safest way to set python3 as default for `python`
Date Thu, 19 Jul 2018 09:30:01 +0200
Message-ID <wdbxT-7K4-1@gated-at.bofh.it> (permalink)
References <wc6qC-10o-9@gated-at.bofh.it> <wcJBE-7ht-3@gated-at.bofh.it> <wcQD7-3Ba-11@gated-at.bofh.it>
X-Original-To Stuart Prescott <stuart@debian.org>, debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jul 19 07:20:10 2018
Old-Return-Path <bam@debian.org>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5
X-Greylist delayed 536 seconds by postgrey-1.36 at bendel; Thu, 19 Jul 2018 07:19:56 UTC
Organization Debian
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16137
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87r2jzr98o.fsf@silverfish.pri
Approved robomod@news.nic.it
Lines 13
Sender robomod@news.nic.it
X-Original-Date Thu, 19 Jul 2018 17:10:47 +1000
X-Original-Message-ID <87r2jzr98o.fsf@silverfish.pri>
X-Original-References <pihi7t$i3f$1@blaine.gmane.org> <85d0vl8guw.fsf@benfinney.id.au> <pimvho$q9l$1@blaine.gmane.org>
Xref csiph.com linux.debian.maint.python:10718

Show key headers only | View raw


Stuart Prescott <stuart@debian.org> writes:

> There's a reasonable number of things in /usr/bin with "#!/usr/bin/env
> python" that would be unhappy with this configuration.

I don't think binaries in /usr/bin should be using "#!/usr/bin/env
python". These will also break with virtualenvs. Packaged programs in
Debian should be using /usr/bin/python*.

Having said that, I can confirm you are correct, this does appear to be
common.
-- 
Brian May <bam@debian.org>

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


Thread

Safest way to set python3 as default for `python` Bastian Venthur <venthur@debian.org> - 2018-07-16 09:50 +0200
  Re: Safest way to set python3 as default for `python` Matthias Klose <doko@debian.org> - 2018-07-16 13:30 +0200
    Re: Safest way to set python3 as default for `python` Bastian Venthur <venthur@debian.org> - 2018-07-16 17:20 +0200
  Re: Safest way to set python3 as default for `python` Ben Finney <bignose@debian.org> - 2018-07-18 03:40 +0200
    Re: Safest way to set python3 as default for `python` Stuart Prescott <stuart@debian.org> - 2018-07-18 11:10 +0200
      Re: Safest way to set python3 as default for `python` Brian May <bam@debian.org> - 2018-07-19 09:30 +0200
  Re: Safest way to set python3 as default for `python` Dimitri John Ledkov <xnox@ubuntu.com> - 2018-07-18 14:10 +0200

csiph-web