On Tue, Nov 2, 2021 at 1:12 PM Khem Raj <raj.khem@gmail.com> wrote:
On Tue, Nov 2, 2021 at 1:06 PM Ross Burton <ross@burtonini.com> wrote:
>
> On Tue, 2 Nov 2021 at 18:06, Khem Raj <raj.khem@gmail.com> wrote:
> > So shouldn’t we fix python3-config to not use distutils and switch to setup tools instead ?
> >
> > I am afraid that masking the warning will come biting soon when this is turned into a hard error
>
> That is a much bigger question that needs to be done, but most likely
> involves rewriting large chunks of the cross integration as from what
> I can tell, setuptools doesn't expose sysconfig (and we patch
> distutils.sysconfig).
>
> We can continue hacking the hack, until we solve this properly.  This
> may happen as part of the pyo3 rust/python problem.

I guess, this patch is fine for what it is solving for now, I was
hopeful that converting to not use
distutils would be easy :)

The distutils.sysconfig.get_python_inc(plat_specific=True) call has no replacement. It will have to be rewritten.


>
> Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157815): https://lists.openembedded.org/g/openembedded-core/message/157815
Mute This Topic: https://lists.openembedded.org/mt/86772899/924729
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ticotimo@gmail.com]
-=-=-=-=-=-=-=-=-=-=-=-