[MacPorts] #50632: py34-kiwisolver: build fails with multiple errors

MacPorts noreply at macports.org
Wed Feb 17 07:49:34 PST 2016


#50632: py34-kiwisolver: build fails with multiple errors
------------------------------+-------------------------
  Reporter:  devans@…         |      Owner:  jjstickel@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  py34-kiwisolver  |
------------------------------+-------------------------

Comment (by devans@…):

 As I suggested in the original description, it looks like this module is
 written specifically using Python2 API and is not Python3 compatible.  For
 instance, Py_InitModule() is replaced by PyModule_Create() in Python3
 extensions, similarly the PyString_*() functions are replaced by
 PyBytes_*() and/or PyUnicode_*().

 See [https://docs.python.org/3/howto/cporting.html Porting Extension
 Modules to Python 3].

 I'm suggesting the best solution, short of rewriting the extension
 entirely, is to just drop the python34 subport.  Is this acceptable to
 you?

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


More information about the macports-tickets mailing list