python3Packages.gradient-utils: relax prometheus-client depedency
This commit is contained in:
parent
508bb7f42e
commit
22a4cf7d98
1 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
, mock
|
, mock
|
||||||
, numpy
|
, numpy
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, prometheus_client
|
, prometheus-client
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
}:
|
}:
|
||||||
|
@ -26,14 +26,15 @@ buildPythonPackage rec {
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'numpy = "1.18.5"' 'numpy = "^1.18.5"' \
|
--replace 'numpy = "1.18.5"' 'numpy = "^1.18.5"' \
|
||||||
--replace 'hyperopt = "0.1.2"' 'hyperopt = ">=0.1.2"' \
|
--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 ];
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
hyperopt
|
hyperopt
|
||||||
prometheus_client
|
prometheus-client
|
||||||
numpy
|
numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue