xref: /qemu/pythondeps.toml (revision 55f5bf716a65f67663d0769bcb8c017764b3e53a)
171ed611cSPaolo Bonzini# This file describes Python package requirements to be
271ed611cSPaolo Bonzini# installed in the pyvenv Python virtual environment.
371ed611cSPaolo Bonzini#
471ed611cSPaolo Bonzini# Packages are placed in groups, which are installed using
571ed611cSPaolo Bonzini# the ensuregroup subcommand of python/scripts/mkvenv.py.
671ed611cSPaolo Bonzini# Each group forms a TOML section and each entry in the
771ed611cSPaolo Bonzini# section is a TOML key-value list describing a package.
871ed611cSPaolo Bonzini# All fields are optional; valid fields are:
971ed611cSPaolo Bonzini#
1071ed611cSPaolo Bonzini# - accepted: accepted versions when using a system package
1171ed611cSPaolo Bonzini# - installed: fixed version to install in the virtual environment
1271ed611cSPaolo Bonzini#              if a system package is not found; if not specified,
136dc8a887SPaolo Bonzini#              defaults to the same as "accepted" or, if also missing,
146dc8a887SPaolo Bonzini#              to the newest version available on PyPI.
1571ed611cSPaolo Bonzini# - canary: if specified, use this program name to present more
1671ed611cSPaolo Bonzini#           precise error diagnostics to the user.  For example,
1771ed611cSPaolo Bonzini#           'sphinx-build' can be used as a bellwether for the
1871ed611cSPaolo Bonzini#           presence of 'sphinx' in the system.
19c853c4d0SPaolo Bonzini
20c853c4d0SPaolo Bonzini[meson]
21c853c4d0SPaolo Bonzini# The install key should match the version in python/wheels/
2207f0d326SPaolo Bonzinimeson = { accepted = ">=1.5.0", installed = "1.5.0", canary = "meson" }
235ec1eec1SThomas Huthpycotap = { accepted = ">=1.1.0", installed = "1.3.1" }
24c853c4d0SPaolo Bonzini
25c853c4d0SPaolo Bonzini[docs]
269c050717SPaolo Bonzini# Please keep the installed versions in sync with docs/requirements.txt
27fe791b7fSJohn Snowsphinx = { accepted = ">=3.4.3", installed = "5.3.0", canary = "sphinx-build" }
28c853c4d0SPaolo Bonzinisphinx_rtd_theme = { accepted = ">=0.5", installed = "1.1.1" }
29c03f57fdSPaolo Bonzini
30*52e9ed6dSThomas Huth[testdeps]
31*52e9ed6dSThomas Huthqemu.qmp = { accepted = ">=0.0.3", installed = "0.0.3" }
32