]> 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:32:55 +0000 (16:32 +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.

(cherry picked from commit 628e16d057cd204ca1a3bedd180a810061b1c3f6)

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

index 00d7805bad65a1088ba2c6263c6a1aab7937ab6c..93e4e360a473764fb44413c46a1f59f11680ac58 100644 (file)
@@ -81,6 +81,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