aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2025-06-04 16:03:51 -0400
committerJohn Snow <jsnow@redhat.com>2025-06-05 12:08:53 -0400
commit4b77e5d7b8b6377f7433de886b98bf64a5fcc663 (patch)
tree060d2a9834a1df2a6bbe7738c39538bed0b0e753
parenta738817c1ddb1730cf144e444d367b5d37e4a4dd (diff)
downloadqemu-4b77e5d7b8b6377f7433de886b98bf64a5fcc663.zip
qemu-4b77e5d7b8b6377f7433de886b98bf64a5fcc663.tar.gz
qemu-4b77e5d7b8b6377f7433de886b98bf64a5fcc663.tar.bz2
python: update missing dependencies from minreqs
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
-rw-r--r--python/tests/minreqs.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/tests/minreqs.txt b/python/tests/minreqs.txt
index 6445407..d3d53e0 100644
--- a/python/tests/minreqs.txt
+++ b/python/tests/minreqs.txt
@@ -38,10 +38,14 @@ 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