All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Beraldo Leal" <bleal@redhat.com>,
	qemu-devel@nongnu.org,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Cleber Rosa" <crosa@redhat.com>, "John Snow" <jsnow@redhat.com>,
	"Michael Tokarev" <mjt@tls.msk.ru>
Subject: Re: [PATCH for 9.1 v2 1/2] buildsys: Bump known good meson version to v1.4.0
Date: Tue, 26 Mar 2024 21:50:13 +0900	[thread overview]
Message-ID: <f2686686-70f6-41e6-998c-d54e8480a8d4@daynix.com> (raw)
In-Reply-To: <CAFEAcA8JF35A5o-+F39sXFnkTDnPo29A7zCZgxFPt3388sVvig@mail.gmail.com>

On 2024/03/26 21:40, Peter Maydell wrote:
> On Tue, 26 Mar 2024 at 12:35, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>>
>> We need meson v1.4.0 to fix MESONINTROSPECT quoting on Windows:
>> https://github.com/mesonbuild/meson/pull/12807
>>
>> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
>> ---
>>   python/scripts/vendor.py                   |   4 ++--
>>   python/wheels/meson-1.2.3-py3-none-any.whl | Bin 964928 -> 0 bytes
>>   python/wheels/meson-1.4.0-py3-none-any.whl | Bin 0 -> 935471 bytes
>>   pythondeps.toml                            |   2 +-
>>   4 files changed, 3 insertions(+), 3 deletions(-)
> 
>> --- a/pythondeps.toml
>> +++ b/pythondeps.toml
>> @@ -19,7 +19,7 @@
>>
>>   [meson]
>>   # The install key should match the version in python/wheels/
>> -meson = { accepted = ">=0.63.0", installed = "1.2.3", canary = "meson" }
>> +meson = { accepted = ">=0.63.0", installed = "1.4.0", canary = "meson" }
> 
> If we need 1.4.0 why does this still say we accept anything 0.63.0
> or better ?
> 
> If we use shlex.split(), does that go wrong for pre-1.4.0
> meson only on Windows, or is it broken for all platforms?

It is only needed for Windows.

> (i.e. could we if we wanted to make the requirement
> "1.4.0 for windows, 0.63.0 for others"?)

I just followed what commit 1a1e889f3576 ("buildsys: Bump known good 
meson version to v1.2.3") did, which don't bump the accepted version.

But certainly we can do better and conditionally ensure meson==1.4.0 on 
Windows in the configure script as commit edc210789500 ("python: use 
vendored tomli") does.

Regards,
Akihiko Odaki

> 
> thanks
> -- PMM


  reply	other threads:[~2024-03-26 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 12:34 [PATCH for 9.1 v2 0/2] meson: Fix MESONINTROSPECT parsing Akihiko Odaki
2024-03-26 12:34 ` [PATCH for 9.1 v2 1/2] buildsys: Bump known good meson version to v1.4.0 Akihiko Odaki
2024-03-26 12:40   ` Peter Maydell
2024-03-26 12:50     ` Akihiko Odaki [this message]
2024-03-26 12:34 ` [PATCH for 9.1 v2 2/2] meson: Fix MESONINTROSPECT parsing Akihiko Odaki

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=f2686686-70f6-41e6-998c-d54e8480a8d4@daynix.com \
    --to=akihiko.odaki@daynix.com \
    --cc=berrange@redhat.com \
    --cc=bleal@redhat.com \
    --cc=crosa@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.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.