<?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>13889</bug_id>
          
          <creation_ts>2020-05-02 04:22:00 +0000</creation_ts>
          <short_desc>python3 Windows distutils stubs regressed in upgrade to 3.8.2</short_desc>
          <delta_ts>2023-02-16 14:08:21 +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>3.1</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>backport?</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1.23</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin Standring">me</reporter>
          <assigned_to name="Steve Sakoman">steve</assigned_to>
          <cc>alejandro</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>steve</cc>
    
    <cc>tvgamblin</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>87134</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Standring">me</who>
    <bug_when>2020-05-02 04:22:00 +0000</bug_when>
    <thetext>The python3 Windows distutils installer stubs were split into a separate package in poky commit dc1ab6482cfb30c714e7cbb421920943439a3fd6. This has regressed during the upgrade to Python 3.8.2 in yocto-3.1.

To reproduce:
* git checkout yocto-3.1
* bitbake python3
* check python3 workdir, in packages-split
* wininst*.exe files should be packaged in python3-distutils-windows but are instead packaged in python3-distutils:

$ find packages-split -name &quot;*.exe&quot;
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-6.0.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-7.1.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-10.0-amd64.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-10.0.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-9.0.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-8.0.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-9.0-amd64.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-14.0.exe
packages-split/python3-distutils/usr/lib/python3.8/distutils/command/wininst-14.0-amd64.exe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93037</commentid>
    <comment_count>1</comment_count>
    <who name="Trevor Gamblin">tvgamblin</who>
    <bug_when>2022-04-13 20:14:14 +0000</bug_when>
    <thetext>Set to unassigned since I will no longer be at WR.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94742</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro">alejandro</who>
    <bug_when>2023-01-18 07:34:44 +0000</bug_when>
    <thetext>I was going to assign this to me, but the wininst files are no longer provided by distutils so this cant be fixed on master.

Also distutils itself is EOL in Python 3.12 [1]

https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94772</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-01-19 16:13:31 +0000</bug_when>
    <thetext>Seems to be only worth fixing on dunfell so Steve is going to take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94935</commentid>
    <comment_count>4</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2023-02-16 14:08:21 +0000</bug_when>
    <thetext>Fixed in dunfell:

https://git.yoctoproject.org/poky/commit/?h=dunfell&amp;id=82af51171e43629f610bc80dcb634ab9619b4ab4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>