[MacPorts] #62020: python39 @3.9.1 _ctypes import fails on 10.4 and 10.5

MacPorts noreply at macports.org
Sun Jan 10 08:52:17 UTC 2021


#62020: python39 @3.9.1 _ctypes import fails on 10.4 and 10.5
----------------------------+----------------------
 Reporter:  fhgwright       |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.6.4
 Keywords:  tiger, leopard  |       Port:  python39
----------------------------+----------------------
 The summary says it all:

 {{{
 MacX:~ fw$ python3.9
 Python 3.9.1 (default, Jan 10 2021, 00:21:42)
 [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import _ctypes
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ModuleNotFoundError: No module named '_ctypes'
 >>> ^D
 }}}

 This worked @3.9.0, so the workaround is to roll back if possible:

 {{{
 MacX:~ fw$ python3.9
 Python 3.9.0 (default, Nov  1 2020, 20:09:43)
 [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import _ctypes
 >>> ^D
 }}}

 Observed on 10.4 i386, 10.5 ppc, 10.5 i386, and 10.5 x86_64.  Not yet
 tested on 10.4 ppc.

-- 
Ticket URL: <https://trac.macports.org/ticket/62020>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list