From 22a4cf7d987458b02f3beaf10e0b7735d6f1b216 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 2 Jul 2021 12:17:58 +0200 Subject: [PATCH] python3Packages.gradient-utils: relax prometheus-client depedency --- pkgs/development/python-modules/gradient-utils/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gradient-utils/default.nix b/pkgs/development/python-modules/gradient-utils/default.nix index ee8d1bde6222..171f87b5ddb2 100644 --- a/pkgs/development/python-modules/gradient-utils/default.nix +++ b/pkgs/development/python-modules/gradient-utils/default.nix @@ -5,7 +5,7 @@ , mock , numpy , poetry-core -, prometheus_client +, prometheus-client , pytestCheckHook , requests }: @@ -26,14 +26,15 @@ buildPythonPackage rec { substituteInPlace pyproject.toml \ --replace 'numpy = "1.18.5"' 'numpy = "^1.18.5"' \ --replace 'hyperopt = "0.1.2"' 'hyperopt = ">=0.1.2"' \ - --replace 'wheel = "^0.35.1"' 'wheel = "*"' + --replace 'wheel = "^0.35.1"' 'wheel = "*"' \ + --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ hyperopt - prometheus_client + prometheus-client numpy ];