[MacPorts] #42747: "port python --select" should offer "python3" and "python2" options
#42747: "port python --select" should offer "python3" and "python2" options -------------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: python_select -------------------------+-------------------------------- As documented in Python PEP 394 (http://legacy.python.org/dev/peps/pep-0394/), it is problematic and not currently recommended to use "python" as a synonym for a Python 3 version. Recommended upstream practice is to offer "python3' as a synonym for the current preferred Python 3 version, "python2" for the current preferred Python 2 version, and, during the long transition period from Python 2 to Python 3, recommend "python" be the same as "python2" but eventually moving to "python3". In support of this, "port select --python" should support "python3" and "python2" groups. -- Ticket URL: <https://trac.macports.org/ticket/42747> MacPorts <http://www.macports.org/> Ports system for OS X
#42747: "port python --select" should offer "python3" and "python2" options ----------------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: python_select | ----------------------------+-------------------------------- Comment (by J.Gilbey@…): Yes, I just got bitten by this one too: there are python programs written in Python 3.x which begin with #! /usr/bin/env python3, which won't run under macports because there's no python3 symlink :-( -- Ticket URL: <https://trac.macports.org/ticket/42747#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42747: "port python --select" should offer "python3" and "python2" options ----------------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: duplicate | Keywords: Port: python_select | ----------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => duplicate Comment: Consolidating into #34326. -- Ticket URL: <https://trac.macports.org/ticket/42747#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts