Files
qemu/pythondeps.toml
T
Brian Cain 00269f34da tests: install pylint for functional linters
The functional linter test otherwise imports the system pylint 2.12.2.
On my system w/Python 3.12, its wrapt dependency would fail with:

    ImportError: cannot import name 'formatargspec' from 'inspect'

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Message-ID: <20260908193656.2787108-1-brian.cain@oss.qualcomm.com>
Signed-off-by: Thomas Huth <th.huth@posteo.eu>
2026-09-10 12:40:45 +02:00

52 lines
2.3 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.6.0", installed = "1.12.0", 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.12.0", installed = "1.12.0", canary = "meson" }
[docs]
# Please keep the installed versions in sync with docs/requirements.txt
sphinx = { accepted = ">=7.2.6", installed = "7.2.6", canary = "sphinx-build" }
sphinx_rtd_theme = { accepted = ">=1.2.2", installed = "2.0.0" }
# This test group is for dependencies required to run various tooling
# and tests that should always be installed at configure time. It should
# only include dependencies that can be guaranteed via configure from
# system packages, or python packages we vendor.
[tooling]
"qemu.qmp" = { accepted = ">=0.0.5", installed = "0.0.6" }
"qemu" = { path = "python/" }
"setuptools" = { accepted = ">=63.1.0" }
"wheel" = { accepted = ">=0.41.2" }
# pip should be guaranteed by mkvenv, this is merely a sanity check for
# which version we are counting on being present.
"pip" = { accepted = ">=23.2.1" }
# This test group is for functional tests, and can include dependencies
# fetched from PyPI.
[functests]
pygdbmi = { accepted = ">=0.11.0.0", installed = "0.11.0.0" }
pylint = { accepted = ">=3.0.0", installed = "3.0.0" }