From e752694649b27d03f6a00617c29f101afe985e81 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Sun, 9 Feb 2025 10:12:06 +0100 Subject: [PATCH] octoprint: relax some tests in the py-overlay Signed-off-by: Florian Brandes --- pkgs/by-name/oc/octoprint/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/oc/octoprint/package.nix b/pkgs/by-name/oc/octoprint/package.nix index 4a9d9b5d02b7..8a104c145986 100644 --- a/pkgs/by-name/oc/octoprint/package.nix +++ b/pkgs/by-name/oc/octoprint/package.nix @@ -52,6 +52,12 @@ let build-system = [ self.setuptools ]; doCheck = false; # DeprecationWarnings }); + pytest-httpbin = super.pytest-httpbin.overridePythonAttrs (oldAttrs: rec { + doCheck = false; # fails in current overlay + }); + httpcore = super.httpcore.overridePythonAttrs (oldAttrs: rec { + doCheck = false; # fails in current overlay + }); netaddr = super.netaddr.overridePythonAttrs (oldAttrs: rec { version = "0.9.0"; @@ -226,9 +232,9 @@ let in '' sed -r -i \ - ${ - lib.concatStringsSep "\n" (map (e: ''-e 's@${e}[<>=]+.*@${e}",@g' \'') ignoreVersionConstraints) - } + ${lib.concatStringsSep "\n" ( + map (e: ''-e 's@${e}[<>=]+.*@${e}",@g' \'') ignoreVersionConstraints + )} setup.py '';