Skip to content

bitbake wrapper: exit if python v3 is detected

Scott Garman poky 1 version Applied

Status from this message: Merged to master but please send OE-Core related patches to the OE-Core

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1bitbake wrapper: exit if python v3 is detectedscripts/bitbake+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] bitbake wrapper: exit if python v3 is detected

Make sure we're not using python v3.x. This check can't go into sanity.bbclass because bitbake's source code doesn't even pass parsing stage when used with python v3, so we catch it here so we can offer a meaningful error message.

This fixes bug [YOCTO #1128]

I did attempt to make changes to bitbake to get the source code to parse under python v3, but there are issues which make it too difficult to get the code to work with python v2 and v3. For example, importing modules within a package has changed significantly in v3 in such a way that breaks compatability with v2.

The following changes since commit 7aa7673459376aff911cef820c9417c998d1aa96:

meta-yocto/linux-yocto: update to match the renamed linux-yocto recipes (2011-06-14 09:21:32 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/bb-python-v3
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/bb-python-v3

Scott Garman (1):
bitbake wrapper: exit if python v3 is detected

 scripts/bitbake |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)