<?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>11890</bug_id>
          
          <creation_ts>2017-08-03 13:43:03 +0000</creation_ts>
          <short_desc>Allow installation of pure Python (native) modules without building python3-native</short_desc>
          <delta_ts>2026-07-30 15:28:38 +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>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.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</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>75608</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-08-03 13:43:03 +0000</bug_when>
    <thetext>It would be a lot faster if pure python (ie no C) modules could just be installed into the sysroot without having to build python3-native.

If we export PYTHONPATH=$SYSROOT/$libdir/python3/site-packages/ then Python will look in the right place.

The hard bit will be changing distutils3-base so that it doesn&apos;t unconditionally inherit python3native.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80275</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-04-17 05:31:43 +0000</bug_when>
    <thetext>Clarification: this is for native packages only.  For target we want to depend on python3native so we can build pyc with the right version of Python.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92468</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-02-03 16:25:24 +0000</bug_when>
    <thetext>Nice idea, there is some complexity be worked through.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96982</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:56 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>