From: Nicki Křížek Date: Tue, 16 Dec 2025 17:27:20 +0000 (+0100) Subject: Add requirements.txt for system tests X-Git-Tag: v9.18.45~8^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26861e789c02f6a7e300847a9aa9402881d094e2;p=thirdparty%2Fbind9.git Add requirements.txt for system tests 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) --- diff --git a/REUSE.toml b/REUSE.toml index 00d7805bad6..93e4e360a47 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -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 index 00000000000..62f31a3e3b8 --- /dev/null +++ b/bin/tests/system/requirements.txt @@ -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