Paolo Bonzini | 71ed611 | 2023-08-08 10:03:42 +0200 | [diff] [blame] | 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 | # the minimum and maximum |
| 14 | # - canary: if specified, use this program name to present more |
| 15 | # precise error diagnostics to the user. For example, |
| 16 | # 'sphinx-build' can be used as a bellwether for the |
| 17 | # presence of 'sphinx' in the system. |
Paolo Bonzini | c853c4d | 2023-08-08 11:23:48 +0200 | [diff] [blame] | 18 | |
| 19 | [meson] |
| 20 | # The install key should match the version in python/wheels/ |
| 21 | meson = { accepted = ">=0.63.0", installed = "0.63.3", canary = "meson" } |
| 22 | |
| 23 | [docs] |
| 24 | sphinx = { accepted = ">=1.6", installed = "5.3.0", canary = "sphinx-build" } |
| 25 | sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.1.1" } |
Paolo Bonzini | c03f57f | 2023-08-08 11:28:08 +0200 | [diff] [blame] | 26 | |
| 27 | [avocado] |
| 28 | # Note that qemu.git/python/ is always implicitly installed. |
| 29 | # Prefer an LTS version when updating the accepted versions of |
| 30 | # avocado-framework, for example right now the limit is 92.x. |
| 31 | avocado-framework = { accepted = "(>=88.1, <93.0)", installed = "88.1", canary = "avocado" } |
| 32 | pycdlib = { accepted = ">=1.11.0" } |