Enable ensurepip on Kirkstone?
Dear everyone,
For reasons outside of my influence I need to have python3's "ensurepip" module available in rootfs, but I see that python3 is deliberately compiled with "--without-ensurepip" flag. I've tried removing it, but then build completely breaks. In some other commits I've seen a package called "python3-ensurepip" but it's not available in newest Kirkstone. Do you know if there is any way to get around it?
With kind regards,
bosinski
--without-ensurepip is not about whether module is built or installed, if I understand this right. On master, the ensurepip package coming from python3 recipe is available and in fact some other recipes rely on it.
You should build python3 in master, then compare what goes on during the build with kirkstone, if kirkstone truly doesn't package ensurepip.
Alex
Quoted 15 lines · On Wed, 27 Sept 2023 at 12:23, <[email protected]> wrote:
Dear everyone,
For reasons outside of my influence I need to have python3's "ensurepip" module available in rootfs, but I see that python3 is deliberately compiled with "--without-ensurepip" flag. I've tried removing it, but then build completely breaks. In some other commits I've seen a package called "python3-ensurepip" but it's not available in newest Kirkstone. Do you know if there is any way to get around it?
With kind regards,
bosinski
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13168): https://lists.yoctoproject.org/g/poky/message/13168
Mute This Topic: https://lists.yoctoproject.org/mt/101614506/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Indeed, cherry-picking commit e9f923e9d47a2b65105f553a7fc3e834a6bc582b (python3-manifest: add ensurepip) does the trick. Thanks!