All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ross Burton <ross@burtonini.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] python3: silence DeprecationWarnings in python3-config
Date: Tue, 2 Nov 2021 20:06:27 +0000	[thread overview]
Message-ID: <CAAnfSTs3mb+KxE+LbMR3Jj-HdKPXQFro0YCx=15vXzPAiVG6XQ@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1spVJSF9tpjK5nz7WYVB_XXEjXvuXARvXnpTKjOa4S-Brg@mail.gmail.com>

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.

Ross


  reply	other threads:[~2021-11-02 20:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 18:02 [PATCH] python3: silence DeprecationWarnings in python3-config Ross Burton
2021-11-02 18:05 ` [OE-core] " Khem Raj
2021-11-02 20:06   ` Ross Burton [this message]
2021-11-02 20:12     ` Khem Raj
2021-11-02 21:05       ` Tim Orling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAnfSTs3mb+KxE+LbMR3Jj-HdKPXQFro0YCx=15vXzPAiVG6XQ@mail.gmail.com' \
    --to=ross@burtonini.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.