Bug 13889 - python3 Windows distutils stubs regressed in upgrade to 3.8.2
Summary: python3 Windows distutils stubs regressed in upgrade to 3.8.2
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.1.23
Assignee: Steve Sakoman
QA Contact:
URL:
Whiteboard: backport?
Depends on:
Blocks:
 
Reported: 2020-05-02 04:22 UTC by Justin Standring
Modified: 2023-02-16 14:08 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Standring 2020-05-02 04:22:00 UTC
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 "*.exe"
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
Comment 1 Trevor Gamblin 2022-04-13 20:14:14 UTC
Set to unassigned since I will no longer be at WR.
Comment 2 Alejandro 2023-01-18 07:34:44 UTC
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
Comment 3 Randy MacLeod 2023-01-19 16:13:31 UTC
Seems to be only worth fixing on dunfell so Steve is going to take a look.