From 628e16d057cd204ca1a3bedd180a810061b1c3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Tue, 16 Dec 2025 18:27:20 +0100 Subject: [PATCH] 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. --- REUSE.toml | 1 + bin/tests/system/requirements.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 bin/tests/system/requirements.txt diff --git a/REUSE.toml b/REUSE.toml index 14c78fdf44..61319e7c22 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -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 index 0000000000..62f31a3e3b --- /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