mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00

We pin all dependencies for the "check-minreqs" test because pip lacks a dependency resolver that installs "the oldest possible package that meets dependency criteria". So, in order to test our stated minimum requirements, we pin all of our dependencies (and their dependencies, transitively) at the oldest possible versions that still work and pass tests; proving that our minimum requirements are correct. (It also ensures no new features accidentally sneak in from developers on newer platforms.) A few transitive dependencies were omitted from the pinned dependency file by accident; as a result, pip's dependency solver can pull in newer dependencies, which we don't want. This patch corrects the previous oversight and pins the missing dependencies. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 20250604200354.459501-4-jsnow@redhat.com
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
# This file lists the ***oldest possible dependencies*** needed to run
|
|
# "make check" successfully under ***Python 3.9***. It is used primarily
|
|
# by GitLab CI to ensure that our stated minimum versions in setup.cfg
|
|
# are truthful and regularly validated.
|
|
#
|
|
# This file should not contain any dependencies that are not expressed
|
|
# by the [devel] section of setup.cfg, except for transitive
|
|
# dependencies which must be enumerated here explicitly to eliminate
|
|
# dependency resolution ambiguity.
|
|
#
|
|
# When adding new dependencies, pin the very oldest non-yanked version
|
|
# on PyPI that allows the test suite to pass.
|
|
|
|
# Dependencies for the TUI addon (Required for successful linting)
|
|
urwid==2.1.2
|
|
urwid-readline==0.13
|
|
Pygments==2.9.0
|
|
|
|
# Dependencies for mkvenv
|
|
distlib==0.3.6
|
|
|
|
# Dependencies for FUSE support for qom-fuse
|
|
fusepy==2.0.4
|
|
|
|
# Test-runners, utilities, etc.
|
|
avocado-framework==90.0
|
|
|
|
# Linters
|
|
flake8==5.0.4
|
|
isort==5.1.2
|
|
mypy==1.4.0
|
|
pylint==2.17.3
|
|
|
|
# Transitive flake8 dependencies
|
|
mccabe==0.7.0
|
|
pycodestyle==2.9.1
|
|
pyflakes==2.5.0
|
|
|
|
# Transitive mypy dependencies
|
|
mypy-extensions==1.0.0
|
|
tomli==1.1.0
|
|
typing-extensions==4.7.1
|
|
|
|
# Transitive pylint dependencies
|
|
astroid==2.15.4
|
|
dill==0.2
|
|
lazy-object-proxy==1.4.0
|
|
platformdirs==2.2.0
|
|
toml==0.10.0
|
|
tomlkit==0.10.1
|
|
wrapt==1.14.0
|