[MacPorts] #51572: port selecting python3 as python should emit a warning
#51572: port selecting python3 as python should emit a warning -------------------------+-------------------------------- Reporter: jeremyhu@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Keywords: | Port: -------------------------+-------------------------------- Using any version of python 3 as the python interpreter is not supported. python should only refer to python2. If users want to try configuring their system in this unsupported manner, they should be warned by 'port select' when doing so. -- Ticket URL: <https://trac.macports.org/ticket/51572> MacPorts <https://www.macports.org/> Ports system for OS X
#51572: port selecting python3 as python should emit a warning --------------------------+-------------------------------- Reporter: jeremyhu@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Description changed by jeremyhu@…: Old description:
Using any version of python 3 as the python interpreter is not supported. python should only refer to python2. If users want to try configuring their system in this unsupported manner, they should be warned by 'port select' when doing so.
New description: Using any version of python 3 as the python interpreter is not supported. python should only refer to python2. If users want to try configuring their system in this unsupported manner, they should be warned by 'port select' when doing so. See https://www.python.org/dev/peps/pep-0394 -- -- Ticket URL: <https://trac.macports.org/ticket/51572#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51572: port selecting python3 as python should emit a warning --------------------------+-------------------------------- Reporter: jeremyhu@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): We should just make `port select python` only able to select python 2.x versions. It would fix problems like #32575 and #49591. Users should use `port select python3` to set the `python3` symlink. We could even consider deprecating the python2_select port and rolling its functionality (i.e. setting the `python2` symlink) into the python_select port (or vice versa). -- Ticket URL: <https://trac.macports.org/ticket/51572#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts