From d27e73f85171ca23ed74175a3cdba6e555c4d540 Mon Sep 17 00:00:00 2001 From: Kai Fricke Date: Wed, 6 Apr 2022 14:22:22 -0700 Subject: [PATCH] [ci] Pin prometheus_client to fix current test outages (#23749) What: Pins prometheus_client to < 0.14.0, hopefully fixing today's CI outages Why: New version of the python client (https://github.com/prometheus/client_python/releases) breaks our CI --- ci/asan_tests/ray-project/requirements.txt | 2 +- python/requirements.txt | 2 +- python/requirements/requirements_default.txt | 4 ++-- python/setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/asan_tests/ray-project/requirements.txt b/ci/asan_tests/ray-project/requirements.txt index 935c22901..bd3a5b309 100644 --- a/ci/asan_tests/ray-project/requirements.txt +++ b/ci/asan_tests/ray-project/requirements.txt @@ -18,7 +18,7 @@ scikit-image openpyxl pandas==0.24.2 Pillow -prometheus_client +prometheus_client<0.14.0 py-spy pygments pytest==5.4.3 diff --git a/python/requirements.txt b/python/requirements.txt index 47db54c2a..27a17f55a 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -18,7 +18,7 @@ jsonschema msgpack >= 1.0.0, < 2.0.0 numpy >= 1.16 opencensus -prometheus_client >= 0.7.1 +prometheus_client >= 0.7.1, < 0.14.0 protobuf >= 3.8.0 py-spy >= 0.2.0 pydantic >= 1.8 diff --git a/python/requirements/requirements_default.txt b/python/requirements/requirements_default.txt index 3033be94f..ecb2b7141 100644 --- a/python/requirements/requirements_default.txt +++ b/python/requirements/requirements_default.txt @@ -1,7 +1,7 @@ -aiohttp>=3.7 +aiohttp >= 3.7 aiosignal aiohttp_cors colorful opencensus -prometheus_client>=0.7.1 +prometheus_client >= 0.7.1, < 0.14.0 smart_open \ No newline at end of file diff --git a/python/setup.py b/python/setup.py index e10b216ca..0598c6f9f 100644 --- a/python/setup.py +++ b/python/setup.py @@ -213,7 +213,7 @@ if setup_spec.type == SetupType.RAY: "requests", "gpustat >= 1.0.0b1", # for windows "opencensus", - "prometheus_client >= 0.7.1", + "prometheus_client >= 0.7.1, < 0.14.0", "smart_open", ], "serve": ["uvicorn==0.16.0", "requests", "starlette", "fastapi", "aiorwlock"],