From ff11733f1978a39a4bde9ccc7180891980ceac04 Mon Sep 17 00:00:00 2001 From: Jakob van Santen Date: Thu, 21 Dec 2023 19:39:18 +0100 Subject: [PATCH] chore(deps): pin prometheus-client to <0.18 https://github.com/prometheus/client_python/pull/967 jiggers with the format of multiprocess metrics in a way that breaks our custom aggregation. Ignore for now. --- poetry.lock | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1f6eb347f..013ab361e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -681,13 +681,13 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "prometheus-client" -version = "0.19.0" +version = "0.17.1" description = "Python client for the Prometheus monitoring system." optional = false -python-versions = ">=3.8" +python-versions = ">=3.6" files = [ - {file = "prometheus_client-0.19.0-py3-none-any.whl", hash = "sha256:c88b1e6ecf6b41cd8fb5731c7ae919bf66df6ec6fafa555cd6c0e16ca169ae92"}, - {file = "prometheus_client-0.19.0.tar.gz", hash = "sha256:4585b0d1223148c27a225b10dbec5ae9bc4c81a99a3fa80774fa6209935324e1"}, + {file = "prometheus_client-0.17.1-py3-none-any.whl", hash = "sha256:e537f37160f6807b8202a6fc4764cdd19bac5480ddd3e0d463c3002b34462101"}, + {file = "prometheus_client-0.17.1.tar.gz", hash = "sha256:21e674f39831ae3f8acde238afd9a27a37d0d2fb5a28ea094f0ce25d2cbf2091"}, ] [package.extras] @@ -1927,4 +1927,4 @@ slack = ["slack-sdk"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "eba56eae5e1c1884391f308a3fb0700277be57fe3bef79b13bf2cadf3d30938c" +content-hash = "382fa72e2f20dad4e0dda91959acf421b8971accc51d3da22c7a7b01c0fc9c81" diff --git a/pyproject.toml b/pyproject.toml index 0fc070c0d..f8354dd00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ pydantic = "^1.9.0" sjcl = "^0.2.1" schedule = "^1.0.0" yq = "^3.0.0" -prometheus-client = ">=0.16,<0.20" +prometheus-client = ">=0.16,<0.18" xxhash = "^3.0.0" psutil = "^5.8.0" appdirs = "^1.4.4"