]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
python: update missing dependencies from minreqs
authorJohn Snow <jsnow@redhat.com>
Wed, 4 Jun 2025 20:03:51 +0000 (16:03 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 5 Jun 2025 16:08:53 +0000 (12:08 -0400)
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

python/tests/minreqs.txt

index 6445407ba870791d52e01fad0a1fca828eaa23fc..d3d53e0da81d83b02aae4cd70fb54667599e54d9 100644 (file)
@@ -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