<?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>9636</bug_id>
          
          <creation_ts>2016-05-14 19:41:45 +0000</creation_ts>
          <short_desc>wic script should use argparse instead of optparse library</short_desc>
          <delta_ts>2017-05-24 08:23:09 +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>Scripts and Tools</component>
          <version>2.2</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 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Humberto Ibarra">humberto.ibarra.lopez</reporter>
          <assigned_to name="Daniela Plascencia">daniela.plascencia</assigned_to>
          <cc>eduard.bartosh</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="David Rodriguez">david.israelx.rodriguez.castellanos</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>62209</commentid>
    <comment_count>0</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-05-14 19:41:45 +0000</bug_when>
    <thetext>Similar issue to the one described in #8321, only this applies to wic instead of yocto-bsp script.

optparse library is deprecated since 2.7, scripts should use argparse instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63064</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-16 16:53:23 +0000</bug_when>
    <thetext>Humberto, optparse in python3 is still available so priority is a bit lower on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63229</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-21 20:35:58 +0000</bug_when>
    <thetext>some related info on this transition https://docs.python.org/2/library/argparse.html#upgrading-optparse-code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63315</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-23 19:55:08 +0000</bug_when>
    <thetext>My fault, moving it to M1 again. CCB should agree on any milestone movement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70156</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-01-25 20:29:53 +0000</bug_when>
    <thetext>This is not a priority right now so moving it to next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72980</commentid>
    <comment_count>5</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-05-02 14:56:03 +0000</bug_when>
    <thetext>The patch has been sent to the mailiing list for review: http://lists.openembedded.org/pipermail/openembedded-core/2017-May/136235.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72982</commentid>
    <comment_count>6</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-05-02 15:15:20 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; The patch has been sent to the mailiing list for review:
&gt; http://lists.openembedded.org/pipermail/openembedded-core/2017-May/136235.
&gt; html

Thanks Ed for updating with this info.

Daniela, can you please do a quick check of the patchset?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73463</commentid>
    <comment_count>7</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-05-24 08:23:09 +0000</bug_when>
    <thetext>The patchset has been merged to master. commit id in poky: 05aa049e2c314731385e1d18b5fd6e1f1e63ea8f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>