Skip to content

Commit

Permalink
[Core][deps] pin json-schema < 4.18 (ray-project#33412)
Browse files Browse the repository at this point in the history
ray-project#33411 there is a risk ray client_server will crash with jsonschema >= 4.18

Signed-off-by: Jack He <jackhe2345@gmail.com>
  • Loading branch information
scv119 authored and ProjectsByJackHe committed Mar 21, 2023
1 parent 5dea598 commit b3362cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ci/env/install-core-prerelease-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -e

# install all unbounded dependencies in setup.py for ray core
# TOOD(scv119) reenable grpcio once https://github.com/grpc/grpc/issues/31885 is fixed.
for dependency in attrs jsonschema aiosignal frozenlist requests protobuf
# TOOD(scv119) reenable jsonschema once https://github.com/ray-project/ray/issues/33411 is fixed.
for dependency in attrs aiosignal frozenlist requests protobuf
do
python -m pip install -U --pre --upgrade-strategy=eager $dependency
done
3 changes: 2 additions & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
attrs
click>=7.0
filelock
jsonschema
# Tracking issue: https://github.com/ray-project/ray/issues/33411
jsonschema < 4.18
msgpack<2.0.0,>=1.0.0
protobuf>= 3.15.3, != 3.19.55
pyyaml
Expand Down

0 comments on commit b3362cc

Please sign in to comment.