Bug 36188

Summary: Does not support building library with Python 3
Product: XCB Reporter: David Coles <dcoles>
Component: MiscAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact: xcb mailing list dummy <xcb>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description David Coles 2011-04-12 15:01:54 UTC
The current build scripts for XCB have some incompatibilities with the Python 3 series that prevent them from running correctly.

Most of the fixes are minor language changes (such as exception syntax or certain functions returning generators rather than lists) or issues with relative imports (In Python 3 relative imports must be explicit and it is stricter about circular imports).

The following two patches add support for Python 3. The changes to c_client.py require bumping the minimum Python version to 2.6 to support the new exception syntax.

PATCH: "Use absolute imports in xcbgen for Python 3 compatibility"
http://lists.freedesktop.org/archives/xcb/2011-April/006948.html

PATCH: "Add support for building with Python 3"
http://lists.freedesktop.org/archives/xcb/2011-April/006948.html
Comment 1 Peter Harris 2011-08-25 07:30:13 UTC
It looks like this was pushed as 294c9f455c3534d836b010dacd2e7aa62a7dde9d

Please re-open if master doesn't work for you with Python3.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.