Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 329909

Summary: dev-python/sip-4.10.5 doesn't work with Python 3.2 (PyCObject)
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, qt
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292402, 292419    

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-26 13:25:06 UTC
dev-python/sip-4.10.5 doesn't work with Python 3.2. It uses PyCObject-related
functions which are deprecated in Python 3.1 and removed in Python 3.2. PyCapsule-related functions should be used.
http://docs.python.org/3.1/c-api/cobject.html
http://docs.python.org/3.1/c-api/capsule.html

$ python3.2 -c 'import sip'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib64/python3.2/site-packages/sip.so: undefined symbol: PyCObject_FromVoidPtr
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2010-08-28 16:24:36 UTC
Will be fixed by sip-4.11
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2010-09-01 19:23:20 UTC
4.11 in tree now.