python, meson: update meson required for Rust to 1.12.0
Meson 1.11.0 brings support for parsing Cargo.toml inside QEMU's source tree, and Meson 1.12.0 brings support for cross-compilation of Cargo subprojects. Together, these two features allow QEMU to remove hundreds of lines of manual compilation scripts. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Paolo Bonzini committed
Aug 13, 2026 at 10:27 UTC
4c8c1320367a5b84864700d4634a8f07aed4753a
5 files changed
+6
-6
configure
+2
-2
@@ -1166,12 +1166,12 @@ fi
1166
# detect rust triple
1167
1168
meson_version=$($meson --version)
1169
-if test "$rust" != disabled && ! version_ge "$meson_version" 1.10.0; then
1169
+if test "$rust" != disabled && ! version_ge "$meson_version" 1.12.0; then
1170
if test "$rust" = enabled; then
1171
$mkvenv ensuregroup --dir "${source_path}/python/wheels" \
1172
${source_path}/pythondeps.toml meson-rust || exit 1
1173
else
1174
- echo "Rust needs Meson 1.10.0, disabling" 2>&1
1174
+ echo "Rust needs Meson 1.12.0, disabling" 2>&1
1175
rust=disabled
1176
fi
1177
fi
python/scripts/vendor.py
+2
-2
@@ -41,8 +41,8 @@ def main() -> int:
41
parser.parse_args()
42
43
packages = {
44
- "meson==1.11.1":
45
- "9b3a023657e393dbc5335b95c561337d49b7a458f5541e47ec44f2cc566e0d80",
44
+ "meson==1.12.0":
45
+ "71f133147fa0fcfe8f4df49fa1045771064947834538409e5d97b3613aac8b4e",
46
"qemu.qmp==0.0.6":
47
"5d7c5af0e9de427696e3bf72e333965c3a697929f77f6b7ddc30c989fc7b539b",
48
"pycotap==1.3.1":
python/wheels/meson-1.11.1-py3-none-any.whl
Binary files a/python/wheels/meson-1.11.1-py3-none-any.whl and /dev/null differ
python/wheels/meson-1.12.0-py3-none-any.whl
Binary files /dev/null and b/python/wheels/meson-1.12.0-py3-none-any.whl differ
pythondeps.toml
+2
-2
@@ -19,12 +19,12 @@
19
20
[meson]
21
# The install key should match the version in python/wheels/
22
-meson = { accepted = ">=1.5.0", installed = "1.11.1", canary = "meson" }
22
+meson = { accepted = ">=1.5.0", installed = "1.12.0", canary = "meson" }
23
pycotap = { accepted = ">=1.1.0", installed = "1.3.1" }
24
25
[meson-rust]
26
# The install key should match the version in python/wheels/
27
-meson = { accepted = ">=1.11.0", installed = "1.11.1", canary = "meson" }
27
+meson = { accepted = ">=1.12.0", installed = "1.12.0", canary = "meson" }
28
29
[docs]
30
# Please keep the installed versions in sync with docs/requirements.txt