[MacPorts] #34326: Python ports do not adhere to PEP 394 and provide "python2" and "python3"

MacPorts noreply at macports.org
Sun May 24 11:49:09 PDT 2015


#34326: Python ports do not adhere to PEP 394 and provide "python2" and "python3"
-------------------------------------------------+-------------------------
  Reporter:  mikko@…                             |      Owner:  macports-
      Type:  enhancement                         |  tickets@…
  Priority:  Normal                              |     Status:  new
 Component:  ports                               |  Milestone:
Resolution:                                      |    Version:  2.0.4
      Port:  python_select python24 python25     |   Keywords:
  python26 python27 python31 python32 python33   |
  python34                                       |
-------------------------------------------------+-------------------------

Comment (by mojca@…):

 I don't know if anyone worked on this already, but one solution (in given
 constraints of the package manager) would be to create two new ports,
 `python2` and `python3`, each of them offering variants like
   * `python2 [+]python27 +python27-apple ...`
   * `python3 [+]python34 +python35 ...`
 and doing nothing else but installing the necessary symlinks. (And then
 try to safeguard against other ports trying to depend on `python2` instead
 of `python27` ;)

 The advantage of separate ports over "`port select python2 python27`"
 would be the simplicity for the users (even though I agree that for
 consistence it would be better to extend the port select group to allow a
 port to belong to more than one group).

 (In any case software developers probably cannot rely on existence of
 `python2` on Mac.)

-- 
Ticket URL: <https://trac.macports.org/ticket/34326#comment:33>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list