about summary refs log tree commit diff
path: root/pkgs/tools/admin
diff options
context:
space:
mode:
authorSandro2024-04-09 17:50:00 +0200
committerGitHub2024-04-09 17:50:00 +0200
commit134b4e43c367170ff2baa5adbe08e27d441e5cc0 (patch)
treebcfc74e82ac2281fb776bdc31a09de9123faf301 /pkgs/tools/admin
parent4d3e4f4341ff8509d0f66708613b1030d6b45014 (diff)
parent7c4ba828872a3edc643ad029ca26b95cd4197459 (diff)
Merge pull request #302818 from msanft/aws-encryption-sdk-cli/fix-tests
aws-encryption-sdk-cli: fix package build
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r--pkgs/tools/admin/aws-encryption-sdk-cli/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/admin/aws-encryption-sdk-cli/default.nix b/pkgs/tools/admin/aws-encryption-sdk-cli/default.nix
index 2bc331cc1874..f0d5aa5d3915 100644
--- a/pkgs/tools/admin/aws-encryption-sdk-cli/default.nix
+++ b/pkgs/tools/admin/aws-encryption-sdk-cli/default.nix
@@ -37,6 +37,7 @@ localPython.pkgs.buildPythonApplication rec {
     aws-encryption-sdk
     base64io
     urllib3
+    setuptools # for pkg_resources
   ];
 
   doCheck = true;
@@ -52,6 +53,9 @@ localPython.pkgs.buildPythonApplication rec {
     "test/integration"
   ];
 
+  # Upstream did not adapt to pytest 8 yet.
+  pytestFlagsArray = [ "-W" "ignore::pytest.PytestRemovedIn8Warning" ];
+
   passthru = {
     updateScript = nix-update-script { };
     tests.version = testers.testVersion {