mirror of
https://github.com/qemu/qemu.git
synced 2025-08-16 14:54:29 +00:00

If the user explicitly specified --enable-rust, don't just fail if meson is too old for Rust support, but do the same thing as if meson was too old for the C code: Just download a newer one. In order to avoid the additional download for people who aren't intentionally opting in to Rust, keep the automatic disabling based on the meson version as the default if neither --enable-rust nor --disable-rust were given. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20250811142923.89983-1-kwolf@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
36 lines
1.5 KiB
TOML
36 lines
1.5 KiB
TOML
# This file describes Python package requirements to be
|
|
# installed in the pyvenv Python virtual environment.
|
|
#
|
|
# Packages are placed in groups, which are installed using
|
|
# the ensuregroup subcommand of python/scripts/mkvenv.py.
|
|
# Each group forms a TOML section and each entry in the
|
|
# section is a TOML key-value list describing a package.
|
|
# All fields are optional; valid fields are:
|
|
#
|
|
# - accepted: accepted versions when using a system package
|
|
# - installed: fixed version to install in the virtual environment
|
|
# if a system package is not found; if not specified,
|
|
# defaults to the same as "accepted" or, if also missing,
|
|
# to the newest version available on PyPI.
|
|
# - canary: if specified, use this program name to present more
|
|
# precise error diagnostics to the user. For example,
|
|
# 'sphinx-build' can be used as a bellwether for the
|
|
# presence of 'sphinx' in the system.
|
|
|
|
[meson]
|
|
# The install key should match the version in python/wheels/
|
|
meson = { accepted = ">=1.5.0", installed = "1.8.1", canary = "meson" }
|
|
pycotap = { accepted = ">=1.1.0", installed = "1.3.1" }
|
|
|
|
[meson-rust]
|
|
# The install key should match the version in python/wheels/
|
|
meson = { accepted = ">=1.8.1", installed = "1.8.1", canary = "meson" }
|
|
|
|
[docs]
|
|
# Please keep the installed versions in sync with docs/requirements.txt
|
|
sphinx = { accepted = ">=3.4.3", installed = "6.2.1", canary = "sphinx-build" }
|
|
sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }
|
|
|
|
[testdeps]
|
|
qemu.qmp = { accepted = ">=0.0.3", installed = "0.0.3" }
|