treewide: prometheus_client -> prometheus-client

This commit is contained in:
Martin Weinelt 2021-08-26 02:08:48 +02:00
parent 22a4cf7d98
commit 6b77988f96
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
20 changed files with 31 additions and 31 deletions

View file

@ -16,7 +16,7 @@
, cryptography , cryptography
, beautifulsoup4 , beautifulsoup4
, sqlalchemy-utils , sqlalchemy-utils
, prometheus_client , prometheus-client
, celery , celery
, alembic , alembic
, importlib-metadata , importlib-metadata
@ -70,7 +70,7 @@ buildPythonPackage rec {
cryptography cryptography
beautifulsoup4 beautifulsoup4
sqlalchemy-utils sqlalchemy-utils
prometheus_client prometheus-client
# Unofficial runtime dependencies? # Unofficial runtime dependencies?
celery celery

View file

@ -14,7 +14,7 @@
, dnspython , dnspython
, sshpubkeys , sshpubkeys
, weasyprint , weasyprint
, prometheus_client , prometheus-client
, python , python
}: }:
let let
@ -52,7 +52,7 @@ buildPythonPackage rec {
pystache pystache
sshpubkeys sshpubkeys
weasyprint weasyprint
prometheus_client prometheus-client
dnspython dnspython
]; ];

View file

@ -6,7 +6,7 @@
, mock , mock
, pytz , pytz
, tornado , tornado
, prometheus_client , prometheus-client
, pytestCheckHook , pytestCheckHook
}: }:
@ -30,7 +30,7 @@ buildPythonPackage rec {
pytz pytz
tornado tornado
humanize humanize
prometheus_client prometheus-client
]; ];
checkInputs = [ checkInputs = [

View file

@ -17,7 +17,7 @@
, nbconvert , nbconvert
, send2trash , send2trash
, terminado , terminado
, prometheus_client , prometheus-client
, anyio , anyio
, websocket-client , websocket-client
, requests , requests
@ -46,7 +46,7 @@ buildPythonPackage rec {
nbconvert nbconvert
send2trash send2trash
terminado terminado
prometheus_client prometheus-client
anyio anyio
websocket-client websocket-client
]; ];

View file

@ -13,7 +13,7 @@
, jupyter-telemetry , jupyter-telemetry
, oauthlib , oauthlib
, pamela , pamela
, prometheus_client , prometheus-client
, requests , requests
, sqlalchemy , sqlalchemy
, tornado , tornado
@ -121,7 +121,7 @@ buildPythonPackage rec {
jupyter-telemetry jupyter-telemetry
oauthlib oauthlib
pamela pamela
prometheus_client prometheus-client
requests requests
sqlalchemy sqlalchemy
tornado tornado

View file

@ -4,7 +4,7 @@
, flask , flask
, karton-core , karton-core
, mistune , mistune
, prometheus_client , prometheus-client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,13 +22,13 @@ buildPythonPackage rec {
flask flask
karton-core karton-core
mistune mistune
prometheus_client prometheus-client
]; ];
postPatch = '' postPatch = ''
substituteInPlace requirements.txt \ substituteInPlace requirements.txt \
--replace "Flask==1.1.1" "Flask" \ --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 # Project has no tests. pythonImportsCheck requires MinIO configuration

View file

@ -20,7 +20,7 @@
, requests , requests
, send2trash , send2trash
, pexpect , pexpect
, prometheus_client , prometheus-client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -40,7 +40,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
jinja2 tornado ipython_genutils traitlets jupyter_core send2trash jinja2 tornado ipython_genutils traitlets jupyter_core send2trash
jupyter_client nbformat nbconvert ipykernel terminado requests pexpect jupyter_client nbformat nbconvert ipykernel terminado requests pexpect
prometheus_client prometheus-client
]; ];
# disable warning_filters # disable warning_filters

View file

@ -21,7 +21,7 @@
, requests , requests
, send2trash , send2trash
, pexpect , pexpect
, prometheus_client , prometheus-client
, pytestCheckHook , pytestCheckHook
}: }:
@ -43,7 +43,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
jinja2 tornado ipython_genutils traitlets jupyter_core send2trash jinja2 tornado ipython_genutils traitlets jupyter_core send2trash
jupyter_client nbformat nbconvert ipykernel terminado requests pexpect jupyter_client nbformat nbconvert ipykernel terminado requests pexpect
prometheus_client argon2_cffi prometheus-client argon2_cffi
]; ];
# disable warning_filters # disable warning_filters

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, flask , flask
, prometheus_client , prometheus-client
, pytestCheckHook , pytestCheckHook
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "1dwisp681w0f6zf0000rxd3ksdb48zb9mr38qfdqk2ir24y8w370"; sha256 = "1dwisp681w0f6zf0000rxd3ksdb48zb9mr38qfdqk2ir24y8w370";
}; };
propagatedBuildInputs = [ flask prometheus_client ]; propagatedBuildInputs = [ flask prometheus-client ];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests/" ]; pytestFlagsArray = [ "tests/" ];

View file

@ -5,7 +5,7 @@
, flask , flask
, isPy27 , isPy27
, nixosTests , nixosTests
, prometheus_client , prometheus-client
, py-air-control , py-air-control
, pytestCheckHook , pytestCheckHook
, setuptools-scm , setuptools-scm
@ -28,7 +28,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
click click
flask flask
prometheus_client prometheus-client
py-air-control py-air-control
]; ];

View file

@ -658,7 +658,7 @@
"profiler" = ps: with ps; [ guppy3 objgraph pyprof2calltree ]; "profiler" = ps: with ps; [ guppy3 objgraph pyprof2calltree ];
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw "progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw
"proliphix" = ps: with ps; [ ]; # missing inputs: proliphix "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 ]; "prosegur" = ps: with ps; [ pyprosegur ];
"prowl" = ps: with ps; [ ]; "prowl" = ps: with ps; [ ];
"proximity" = ps: with ps; [ ]; "proximity" = ps: with ps; [ ];

View file

@ -40,7 +40,7 @@ buildPythonApplication rec {
netaddr netaddr
phonenumbers phonenumbers
pillow pillow
prometheus_client prometheus-client
psutil psutil
psycopg2 psycopg2
pyasn1 pyasn1

View file

@ -19,7 +19,7 @@ python3.pkgs.buildPythonPackage rec {
mautrix mautrix
phonenumbers phonenumbers
pillow pillow
prometheus_client prometheus-client
pycryptodome pycryptodome
python-olm python-olm
python_magic python_magic

View file

@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
}) })
]; ];
propagatedBuildInputs = with python3Packages; [ prometheus_client bitcoinlib riprova ]; propagatedBuildInputs = with python3Packages; [ prometheus-client bitcoinlib riprova ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
click click
prometheus_client prometheus-client
]; ];
checkPhase = '' checkPhase = ''

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
install -Dm0755 knot_exporter $out/bin/knot_exporter install -Dm0755 knot_exporter $out/bin/knot_exporter
patchShebangs $out/bin patchShebangs $out/bin
buildPythonPath ${python3.pkgs.prometheus_client} buildPythonPath ${python3.pkgs.prometheus-client}
patchPythonScript $out/bin/knot_exporter patchPythonScript $out/bin/knot_exporter
runHook postInstall runHook postInstall

View file

@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
sha256 = "1gzf42z0cgdqijbi9cwpjkqzkvnabaxkkfa5ac5h27r3pxx3q4n0"; sha256 = "1gzf42z0cgdqijbi9cwpjkqzkvnabaxkkfa5ac5h27r3pxx3q4n0";
}; };
propagatedBuildInputs = with python3Packages; [ prometheus_client stem retrying ]; propagatedBuildInputs = with python3Packages; [ prometheus-client stem retrying ];
installPhase = '' installPhase = ''
mkdir -p $out/share/ mkdir -p $out/share/

View file

@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
] ++ (with python3Packages; [ ] ++ (with python3Packages; [
aiohttp aiohttp
slixmpp slixmpp
prometheus_client prometheus-client
pyyaml pyyaml
]); ]);

View file

@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
icalendar icalendar
jinja2 jinja2
multidict multidict
prometheus_client prometheus-client
]; ];
passthru.tests.xandikos = nixosTests.xandikos; passthru.tests.xandikos = nixosTests.xandikos;

View file

@ -65,7 +65,7 @@ let
pname = "checks-base"; pname = "checks-base";
sourceRoot = "datadog_checks_base"; sourceRoot = "datadog_checks_base";
propagatedBuildInputs = with python.pkgs; [ propagatedBuildInputs = with python.pkgs; [
requests protobuf prometheus_client uuid simplejson uptime requests protobuf prometheus-client uuid simplejson uptime
]; ];
}; };