python3Packages.karton-dashboard: propagate networkx, relax constraints

This commit is contained in:
Martin Weinelt 2022-07-25 12:58:22 +02:00
parent 247418cdbc
commit 7b052c00a9
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -4,6 +4,7 @@
, flask
, karton-core
, mistune
, networkx
, prometheus-client
, pythonOlder
}:
@ -26,12 +27,14 @@ buildPythonPackage rec {
flask
karton-core
mistune
networkx
prometheus-client
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "Flask==1.1.1" "Flask" \
--replace "Flask==2.0.3" "Flask" \
--replace "networkx==2.6.3" "networkx" \
--replace "prometheus_client==0.11.0" "prometheus_client"
'';