]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add requirements.txt for system tests
authorNicki Křížek <nicki@isc.org>
Tue, 16 Dec 2025 17:27:20 +0000 (18:27 +0100)
committerNicki Křížek <nicki@isc.org>
Wed, 21 Jan 2026 15:07:31 +0000 (16:07 +0100)
This file lists the required Python packages and versions for running
system tests. The easiest way to obtain them is:

    pip install -r requirements.txt

The minimum dnspython version is 2.7.0 because it supports TSIG parsing
without validation (for tsig/tests_tsig_hypothesis.py) and wire() (for
names/tests_names.py).

The minimum pytest version was bumped to 7.0.0 because it supports the
collection hook API required by pytest 9.

The minimum hypothesis version was set to 4.41.2 as prior versions might
have issues on FIPS systems.

REUSE.toml
bin/tests/system/requirements.txt [new file with mode: 0644]

index 14c78fdf44cd06943f02a566a7714cea141bf8e9..61319e7c224a84421b04b7e4c280381152cba13a 100644 (file)
@@ -99,6 +99,7 @@ path = [
        "bin/tests/system/pipelined/inputb",
        "bin/tests/system/pipelined/ref",
        "bin/tests/system/pipelined/refb",
+       "bin/tests/system/requirements.txt",
        "bin/tests/system/rsabigexponent/ns2/dsset-example.in",
        "bin/tests/system/run.gdb",
        "bin/tests/system/runtime/ctrl-chars",
diff --git a/bin/tests/system/requirements.txt b/bin/tests/system/requirements.txt
new file mode 100644 (file)
index 0000000..62f31a3
--- /dev/null
@@ -0,0 +1,13 @@
+### Test requirements
+
+dnspython>=2.7.0
+
+cryptography
+hypothesis>=4.41.2
+jinja2
+pytest>=7.0.0
+requests
+
+### Utility packages for executing the tests
+flaky
+pytest-xdist