xref: /openbmc/qemu/pythondeps.toml (revision 2e35439f)
1# This file describes Python package requirements to be
2# installed in the pyvenv Python virtual environment.
3#
4# Packages are placed in groups, which are installed using
5# the ensuregroup subcommand of python/scripts/mkvenv.py.
6# Each group forms a TOML section and each entry in the
7# section is a TOML key-value list describing a package.
8# All fields are optional; valid fields are:
9#
10# - accepted: accepted versions when using a system package
11# - installed: fixed version to install in the virtual environment
12#              if a system package is not found; if not specified,
13#              defaults to the same as "accepted" or, if also missing,
14#              to the newest version available on PyPI.
15# - canary: if specified, use this program name to present more
16#           precise error diagnostics to the user.  For example,
17#           'sphinx-build' can be used as a bellwether for the
18#           presence of 'sphinx' in the system.
19
20[meson]
21# The install key should match the version in python/wheels/
22meson = { accepted = ">=1.1.0", installed = "1.2.3", canary = "meson" }
23
24[docs]
25# Please keep the installed versions in sync with docs/requirements.txt
26sphinx = { accepted = ">=3.4.3", installed = "5.3.0", canary = "sphinx-build" }
27sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.1.1" }
28
29[avocado]
30# Note that qemu.git/python/ is always implicitly installed.
31# Prefer an LTS version when updating the accepted versions of
32# avocado-framework, for example right now the limit is 92.x.
33avocado-framework = { accepted = "(>=88.1, <93.0)", installed = "88.1", canary = "avocado" }
34pycdlib = { accepted = ">=1.11.0" }
35