treewide: prometheus_client -> prometheus-client
This commit is contained in:
parent
22a4cf7d98
commit
6b77988f96
@ -16,7 +16,7 @@
|
||||
, cryptography
|
||||
, beautifulsoup4
|
||||
, sqlalchemy-utils
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, celery
|
||||
, alembic
|
||||
, importlib-metadata
|
||||
@ -70,7 +70,7 @@ buildPythonPackage rec {
|
||||
cryptography
|
||||
beautifulsoup4
|
||||
sqlalchemy-utils
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
|
||||
# Unofficial runtime dependencies?
|
||||
celery
|
||||
|
@ -14,7 +14,7 @@
|
||||
, dnspython
|
||||
, sshpubkeys
|
||||
, weasyprint
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, python
|
||||
}:
|
||||
let
|
||||
@ -52,7 +52,7 @@ buildPythonPackage rec {
|
||||
pystache
|
||||
sshpubkeys
|
||||
weasyprint
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
dnspython
|
||||
];
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
, mock
|
||||
, pytz
|
||||
, tornado
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
pytz
|
||||
tornado
|
||||
humanize
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
@ -17,7 +17,7 @@
|
||||
, nbconvert
|
||||
, send2trash
|
||||
, terminado
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, anyio
|
||||
, websocket-client
|
||||
, requests
|
||||
@ -46,7 +46,7 @@ buildPythonPackage rec {
|
||||
nbconvert
|
||||
send2trash
|
||||
terminado
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
anyio
|
||||
websocket-client
|
||||
];
|
||||
|
@ -13,7 +13,7 @@
|
||||
, jupyter-telemetry
|
||||
, oauthlib
|
||||
, pamela
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, requests
|
||||
, sqlalchemy
|
||||
, tornado
|
||||
@ -121,7 +121,7 @@ buildPythonPackage rec {
|
||||
jupyter-telemetry
|
||||
oauthlib
|
||||
pamela
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
requests
|
||||
sqlalchemy
|
||||
tornado
|
||||
|
@ -4,7 +4,7 @@
|
||||
, flask
|
||||
, karton-core
|
||||
, mistune
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -22,13 +22,13 @@ buildPythonPackage rec {
|
||||
flask
|
||||
karton-core
|
||||
mistune
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "Flask==1.1.1" "Flask" \
|
||||
--replace "prometheus_client==0.9.0" "prometheus-client"
|
||||
--replace "prometheus-client==0.9.0" "prometheus-client"
|
||||
'';
|
||||
|
||||
# Project has no tests. pythonImportsCheck requires MinIO configuration
|
||||
|
@ -20,7 +20,7 @@
|
||||
, requests
|
||||
, send2trash
|
||||
, pexpect
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
jinja2 tornado ipython_genutils traitlets jupyter_core send2trash
|
||||
jupyter_client nbformat nbconvert ipykernel terminado requests pexpect
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
# disable warning_filters
|
||||
|
@ -21,7 +21,7 @@
|
||||
, requests
|
||||
, send2trash
|
||||
, pexpect
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
jinja2 tornado ipython_genutils traitlets jupyter_core send2trash
|
||||
jupyter_client nbformat nbconvert ipykernel terminado requests pexpect
|
||||
prometheus_client argon2_cffi
|
||||
prometheus-client argon2_cffi
|
||||
];
|
||||
|
||||
# disable warning_filters
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
sha256 = "1dwisp681w0f6zf0000rxd3ksdb48zb9mr38qfdqk2ir24y8w370";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask prometheus_client ];
|
||||
propagatedBuildInputs = [ flask prometheus-client ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "tests/" ];
|
||||
|
@ -5,7 +5,7 @@
|
||||
, flask
|
||||
, isPy27
|
||||
, nixosTests
|
||||
, prometheus_client
|
||||
, prometheus-client
|
||||
, py-air-control
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
flask
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
py-air-control
|
||||
];
|
||||
|
||||
|
@ -658,7 +658,7 @@
|
||||
"profiler" = ps: with ps; [ guppy3 objgraph pyprof2calltree ];
|
||||
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw
|
||||
"proliphix" = ps: with ps; [ ]; # missing inputs: proliphix
|
||||
"prometheus" = ps: with ps; [ aiohttp-cors prometheus_client ];
|
||||
"prometheus" = ps: with ps; [ aiohttp-cors prometheus-client ];
|
||||
"prosegur" = ps: with ps; [ pyprosegur ];
|
||||
"prowl" = ps: with ps; [ ];
|
||||
"proximity" = ps: with ps; [ ];
|
||||
|
@ -40,7 +40,7 @@ buildPythonApplication rec {
|
||||
netaddr
|
||||
phonenumbers
|
||||
pillow
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
psutil
|
||||
psycopg2
|
||||
pyasn1
|
||||
|
@ -19,7 +19,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||
mautrix
|
||||
phonenumbers
|
||||
pillow
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
pycryptodome
|
||||
python-olm
|
||||
python_magic
|
||||
|
@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ prometheus_client bitcoinlib riprova ];
|
||||
propagatedBuildInputs = with python3Packages; [ prometheus-client bitcoinlib riprova ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
install -Dm0755 knot_exporter $out/bin/knot_exporter
|
||||
patchShebangs $out/bin
|
||||
buildPythonPath ${python3.pkgs.prometheus_client}
|
||||
buildPythonPath ${python3.pkgs.prometheus-client}
|
||||
patchPythonScript $out/bin/knot_exporter
|
||||
|
||||
runHook postInstall
|
||||
|
@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
|
||||
sha256 = "1gzf42z0cgdqijbi9cwpjkqzkvnabaxkkfa5ac5h27r3pxx3q4n0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ prometheus_client stem retrying ];
|
||||
propagatedBuildInputs = with python3Packages; [ prometheus-client stem retrying ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/
|
||||
|
@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
|
||||
] ++ (with python3Packages; [
|
||||
aiohttp
|
||||
slixmpp
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
pyyaml
|
||||
]);
|
||||
|
||||
|
@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
|
||||
icalendar
|
||||
jinja2
|
||||
multidict
|
||||
prometheus_client
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
passthru.tests.xandikos = nixosTests.xandikos;
|
||||
|
@ -65,7 +65,7 @@ let
|
||||
pname = "checks-base";
|
||||
sourceRoot = "datadog_checks_base";
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
requests protobuf prometheus_client uuid simplejson uptime
|
||||
requests protobuf prometheus-client uuid simplejson uptime
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user