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


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

Re: /usr/bin/python2 shebangs

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: /usr/bin/python2 shebangs
Date Thu, 10 Nov 2016 03:40:01 +0100
Message-ID <sBNrr-7MJ-7@gated-at.bofh.it> (permalink)
References <syIeB-1oI-1@gated-at.bofh.it> <sAPEZ-1Vz-19@gated-at.bofh.it> <sATIB-4Mo-19@gated-at.bofh.it> <sAU1Y-4T4-35@gated-at.bofh.it> <sBDBL-18k-15@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Nov 10 02:32:10 2016
Old-Return-Path <paul.is.wise@gmail.com>
X-Amavis-Spam-Status No, score=-7.697 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=AxG3iOgpjiyAdcPV05K9bbxmHH1dYeT06NIf++gDWfo=; b=WO7Qzh52Csv5jN+NZolnQjUsK9VBQ7kOVzUWkP4tqAM7u0cCV6aJ+4vrd2OCDAwYp4 vbskwznV+oP1LLnXUx8b9PiSLCHFW2sFY2j2NUY9zhnpcOWhoPUgbakBUBstPbYilIXq 5COQk0qyl+rc0rQqRIzJr9y8TCIrsYlnEK85AGkvK5f8B32C4bnRo/NjGaewqod2PTn5 tg+gdlWk+QW78x645iBU6eQ+EjDGj9SB7SRTy5C1GjS/obE7LZD+e6khPZbAyfKfQFnb SRdtkq1PAvi0HJTTfIZcCT7vQZzTelD8zVTLkARhWXw2VcggxmkwkngX5/Y+mTQ5Wwhf 0Klw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=AxG3iOgpjiyAdcPV05K9bbxmHH1dYeT06NIf++gDWfo=; b=SzzV4XKMwEtJtVi4z16Sk2yWGluuLgFYidtF40lmjvfyXnyGwWv3JumKveVShaX733 3I06oiOeg2P5iNRBPBHtrGoUM3e/TGruCmwcLnvDz3vI6THNmp8qtB0ewbl322WlBJ61 C5oXsJOtjjfEC56L9rdt7Rc2Olc7AHjcbjph0PQWR0fnyY2d7hXWVdP1Be45Fgi+D+On rxfPOzppqwKACznYZtf1LOEFEbE7mCUh33Xc2RS2Cxcj5LJDaBrhUmCIuRGs9SM+47MI steuNCpvpBaNBr6OQ66SiYIgvMv33rynI2EcuxQuQ+mrUaqQcMOFGA4zB8fwXG107Bb/ rrxg==
X-Gm-Message-State ABUngvfcBnX0wCAuwbNpuoLIyi71TJX0+TmTq4krSbU55KLA8pwqH5kS+Pdsk0ZJDStP6CI6z6iOiW78jthiAg==
X-Received by 10.194.164.226 with SMTP id yt2mr2339671wjb.201.1478745113951; Wed, 09 Nov 2016 18:31:53 -0800 (PST)
MIME-Version 1.0
Sender robomod@news.nic.it
X-Google-Sender-Auth WnJmtuxP3bsaVVMf5X3aQJY5yIU
Content-Type text/plain; charset=UTF-8
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14345
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAKTje6GDBs75EEVpA+Qa0PEwM4YQxC5e375OrFx+PyAMiSK3gQ@mail.gmail.com
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
X-Original-Date Thu, 10 Nov 2016 10:31:53 +0800
X-Original-Message-ID <CAKTje6GDBs75EEVpA+Qa0PEwM4YQxC5e375OrFx+PyAMiSK3gQ@mail.gmail.com>
X-Original-References <20161101102801.0350863b@subdivisions.wooz.org> <14cc95bb-c4d7-ecb6-a8c7-7a10fe8e16d7@debian.org> <20161107100825.3750c303.barry@wooz.org> <1898283.BbG01E1Bob@kitterma-e6430> <3d079006-cb89-0ca1-8bd0-ae96ab49c785@debian.org>
X-Original-Sender paul.is.wise@gmail.com
Xref csiph.com linux.debian.maint.python:8999

Show key headers only | View raw


On Thu, Nov 10, 2016 at 12:02 AM, Thomas Goirand wrote:

> The point is, some people also use venvs. In a world of Python 3 only,
> some upstream will continue to use /usr/bin/python (IMO, rightly). We
> should be able to provide a default implementation for these scripts.

I think this is a bug in virtualenv:

$ virtualenv -p /usr/bin/python3 test
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/pabs/test/bin/python3
Also creating executable in /home/pabs/test/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
$ virtualenv -p python3 test
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/pabs/test/bin/python3
Also creating executable in /home/pabs/test/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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


Thread

/usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 15:30 +0100
  Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 16:40 +0100
    Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 22:20 +0100
      Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 23:10 +0100
        Re: /usr/bin/python2 shebangs Donald Stufft <donald@stufft.io> - 2016-11-02 01:50 +0100
          Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-02 02:10 +0100
          Python 4 and ‘python3’ (was:  /usr/bin/python2 shebangs) Ben Finney <bignose@debian.org> - 2016-11-02 04:00 +0100
            Re: Python 4 and ‘python3’ (was:  /usr/bin/python2 shebangs) Barry Warsaw <barry@debian.org> - 2016-11-02 15:10 +0100
              Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-02 23:30 +0100
                Re: Python 4 and ‘python3’ Barry Warsaw <barry@debian.org> - 2016-11-02 23:50 +0100
                Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-03 00:50 +0100
        Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-07 11:50 +0100
          Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-07 16:10 +0100
            Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-07 16:30 +0100
              Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-09 17:10 +0100
                Re: /usr/bin/python2 shebangs Paul Wise <pabs@debian.org> - 2016-11-10 03:40 +0100

csiph-web