[MacPorts] #51572: port selecting python3 as python should emit a warning

MacPorts noreply at macports.org
Fri Nov 1 12:13:22 UTC 2019


#51572: port selecting python3 as python should emit a warning
-------------------------------------------------+-------------------------
  Reporter:  jeremyhu                            |      Owner:  macports-
                                                 |  tickets@…
      Type:  enhancement                         |     Status:  closed
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.3.4
Resolution:  wontfix                             |   Keywords:
      Port:  python_select python2_select        |
  python3_select python24 python25 python26      |
  python27 python31 python32 python33 python34   |
  python35 python36                              |
-------------------------------------------------+-------------------------
Changes (by yan12125):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I don't think there is a need for such a change now. Some reasons:

 1. PEP 394 has been updated to allow pointing "python" to a python 3.x
 interpreter (1).
 2. Python 2 is going to be dead. It's natural for users to select python
 3.x as the default python command.
 3. Issues like #32575 and #49591 should be fixed in individual ports. For
 example, patch their build system to use python 2.x instead merely
 "python".

 (1)
 https://github.com/python/peps/commit/ae932bd6fd2c493d7d64ce328a5293bac4c48884

-- 
Ticket URL: <https://trac.macports.org/ticket/51572#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list