Skip to content

Commit

Permalink
[ci] Pin prometheus_client to fix current test outages (ray-project#2…
Browse files Browse the repository at this point in the history
…3749)

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
  • Loading branch information
krfricke authored Apr 6, 2022
1 parent 8becbfa commit d27e73f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/asan_tests/ray-project/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions python/requirements/requirements_default.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def get_packages(self):
"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"],
Expand Down

0 comments on commit d27e73f

Please sign in to comment.