<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7622</bug_id>
          
          <creation_ts>2015-04-16 22:26:06 +0000</creation_ts>
          <short_desc>python3 - bitbake support</short_desc>
          <delta_ts>2015-05-27 09:38:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>2398</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Damian">alexandru.damian</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>cristina-danielax.agurida</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50370</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-04-16 22:26:06 +0000</bug_when>
    <thetext>Python2 is set to be deprecated (end of life) in 2020.
http://legacy.python.org/dev/peps/pep-0373/

5 years ahead is a reasonable time length to start porting bitbake and relevant code from Python2 to Python3.
Debian&apos;s project to port the Python codebase already started:
https://lists.debian.org/debian-devel-announce/2015/04/msg00005.html

Django 1.6 which is used for Toaster already runs on Python3:
https://docs.djangoproject.com/en/1.8/topics/python3/

Python&apos;s porting documentation:
https://docs.python.org/3/howto/pyporting.html

This bug tracks the work needed to run bitbake under Python3. 

I propose using the Python 2/3 Compatible Source strategy, as used by Django, that enables the same code base to work without modification on both Python2 and Python3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50647</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-04-30 14:38:11 +0000</bug_when>
    <thetext>This is the same bug as 2398

*** This bug has been marked as a duplicate of bug 2398 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51282</commentid>
    <comment_count>2</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-05-27 09:38:22 +0000</bug_when>
    <thetext>Verified as duplicate.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>