<?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>11182</bug_id>
          
          <creation_ts>2017-03-17 15:28:30 +0000</creation_ts>
          <short_desc>Make it easier to add Python to an image</short_desc>
          <delta_ts>2017-05-23 10:53:00 +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>OE-Core</product>
          <component>core</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alejandro.hernandez</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71398</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-03-17 15:28:30 +0000</bug_when>
    <thetext>Currently to get a functional Python in an image a user must add python-core and the correct set of required modules for their Python usage (or all modules with python-modules).

This is a usability trap because a) many modules don&apos;t have the correct RDEPENDS and b) most users expect adding &apos;python&apos; to the image to work, whereas one must actually add &apos;python-core&apos;

Make it easier to add Python to an image by:
1) having python-core RRECOMMENDS python-modules
2) adding a new package &apos;python&apos; to the recipe which brings in python-core and python-modules</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72795</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-04-24 15:52:19 +0000</bug_when>
    <thetext>(2) done by &quot;python3: add python3 metapackage&quot; on the list.

Not sure if this means we need to do (1) at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73242</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-05-12 17:56:13 +0000</bug_when>
    <thetext>(1) Should be fixed once python smart autopackaging is integrated, this is partly done but I will file an enhancement bug so we can keep track of this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73445</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-05-23 10:53:00 +0000</bug_when>
    <thetext>(2) is solved by oe-core 54a2549802a911cad2475a6aa379315a834419d8.

I now think that (1) isn&apos;t required, as people won&apos;t be accidentally including python3-core in images anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>