<?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>11695</bug_id>
          
          <creation_ts>2017-06-20 23:33:59 +0000</creation_ts>
          <short_desc>Add task to create python manifest(s) automatically</short_desc>
          <delta_ts>2018-01-22 14:16:56 +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>devtools / tool chain</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>LET</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.5 M2</target_milestone>
          <dependson>11510</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro Hernandez">alejandro.hernandez</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74424</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-06-20 23:33:59 +0000</bug_when>
    <thetext>A test to run on top of the testimage infrastructure should be created, this test should check every python package to see specifically which modules it needs, and will create a manifest file (JSON) automatically according to this information, the newly created file can be used to replace the current file.

This will ultimately get rid of all the new bugs we keep having every release of python, when some dependency between modules changes, and will make it easier to create new python packages.

This test can/should be run either on every release (of yocto or python) or when adding a new package if one is lazy enough to not check the modules the new package needs to work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74478</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-06-22 15:09:31 +0000</bug_when>
    <thetext>Not sure why this needs to use testimage.  If we assume that native python is the same version as target python then we can introspect the native python when that is built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74728</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-07-04 06:20:41 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Not sure why this needs to use testimage.  If we assume that native python
&gt; is the same version as target python then we can introspect the native
&gt; python when that is built.

Completely agreed, should be possible to do it that way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76213</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-08-28 21:44:46 +0000</bug_when>
    <thetext>Done but moving to 2.5, per Richard&apos;s request</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79180</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-01-22 14:16:56 +0000</bug_when>
    <thetext>Fixed in oe-core 3328211afdef8ffb00dd4dff1143959d5412b075.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>