From a4db457ffdeb1eeaf138121eae0826aca991c5c1 Mon Sep 17 00:00:00 2001 From: "Bryan T. Richardson" Date: Fri, 3 May 2024 14:17:22 -0600 Subject: [PATCH] openvswitch: include Python setuptools for tests Fixes test(s) that fail with the following output: ``` 2611: Pytest unit tests - Python3 ok ERROR: 2600 tests were run, 1 failed unexpectedly. 12 tests were skipped. Please send 'tests/testsuite.log' and all information you think might help: To: Subject: [openvswitch 3.3.0] testsuite: 2531 failed You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below 'tests/testsuite.dir'. Traceback (most recent call last): File "", line 4, in ModuleNotFoundError: No module named 'pkg_resources' ``` --- pkgs/by-name/op/openvswitch/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/op/openvswitch/generic.nix b/pkgs/by-name/op/openvswitch/generic.nix index dadccc1c3947..9833661ef5cd 100644 --- a/pkgs/by-name/op/openvswitch/generic.nix +++ b/pkgs/by-name/op/openvswitch/generic.nix @@ -112,6 +112,7 @@ stdenv.mkDerivation rec { netaddr pyparsing pytest + setuptools ]); passthru.updateScript = writeScript "ovs-update.nu" ''