<?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>13034</bug_id>
          
          <creation_ts>2018-11-21 18:21:13 +0000</creation_ts>
          <short_desc>Migrate python namespace packages from pkgutil to native</short_desc>
          <delta_ts>2026-10-29 15:06:14 +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.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Larson">kergoth</reporter>
          <assigned_to name="Trevor Gamblin">tvgamblin</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tgamblin</cc>
    
    <cc>tvgamblin</cc>
          
          
          <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>82281</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2018-11-21 18:21:13 +0000</bug_when>
    <thetext>This mainly applies to the `oe` python package, but potentially also the other extensible python packages like those in scripts, depending on their particular plugin load method. See https://packaging.python.org/guides/packaging-namespace-packages/#creating-a-namespace-package. pkgutil style have limitations that we need to work around one way or the other, either we do this migration, or the oe_import logic needs to reimport all the packages to be imported to ensure new path additions are picked up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90172</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-29 15:26:29 +0000</bug_when>
    <thetext>Chris is this still relevant now that we don&apos;t support python2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90239</commentid>
    <comment_count>2</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2021-05-06 02:38:23 +0000</bug_when>
    <thetext>This is actually *more* relevant now that we don&apos;t support python 2, as the PEP that makes native python packages work was added in python 3.3 :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90298</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-05-06 15:28:12 +0000</bug_when>
    <thetext>Hopefully you can work on it Chris! :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>