blob: c03c9df81b5c31a8eaf8e85a72953a7d6dd8c3cf [file] [log] [blame]
Paolo Bonzini71ed6112023-08-08 10:03:42 +02001# 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,
Paolo Bonzini6dc8a882023-11-09 15:54:40 +010013# defaults to the same as "accepted" or, if also missing,
14# to the newest version available on PyPI.
Paolo Bonzini71ed6112023-08-08 10:03:42 +020015# - 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.
Paolo Bonzinic853c4d2023-08-08 11:23:48 +020019
20[meson]
21# The install key should match the version in python/wheels/
Paolo Bonzini07f0d322024-10-03 16:28:43 +030022meson = { accepted = ">=1.5.0", installed = "1.5.0", canary = "meson" }
Thomas Huth5ec1eec2024-08-30 15:38:01 +020023pycotap = { accepted = ">=1.1.0", installed = "1.3.1" }
Paolo Bonzinic853c4d2023-08-08 11:23:48 +020024
25[docs]
Paolo Bonzini9c050712024-04-18 11:14:31 +020026# Please keep the installed versions in sync with docs/requirements.txt
John Snowfe791b72024-07-03 13:52:34 -040027sphinx = { accepted = ">=3.4.3", installed = "5.3.0", canary = "sphinx-build" }
Paolo Bonzinic853c4d2023-08-08 11:23:48 +020028sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.1.1" }
Paolo Bonzinic03f57f2023-08-08 11:28:08 +020029
30[avocado]
31# Note that qemu.git/python/ is always implicitly installed.
32# Prefer an LTS version when updating the accepted versions of
33# avocado-framework, for example right now the limit is 92.x.
Cleber Rosa657136c2024-08-30 15:37:58 +020034avocado-framework = { accepted = "(>=103.0, <104.0)", installed = "103.0", canary = "avocado" }
Paolo Bonzinic03f57f2023-08-08 11:28:08 +020035pycdlib = { accepted = ">=1.11.0" }