Bug 36188 - Does not support building library with Python 3
Summary: Does not support building library with Python 3
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Misc (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 15:01 UTC by David Coles
Modified: 2011-08-25 07:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.