Skip to content

Commit

Permalink
[Cherrypick] Fix compatibility between Python client and KubeRay (#1007)
Browse files Browse the repository at this point in the history
Fix compatibility between Python client and KubeRay
  • Loading branch information
kevin85421 authored Apr 4, 2023
1 parent e705930 commit 83698cd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,5 @@ jobs:
- name: Install package and run unittest for Python client
working-directory: ./clients/python-client
run: |
pip install -r requirements.txt
pip install -e .
python3 -m unittest discover 'python_client_test/'
11 changes: 0 additions & 11 deletions clients/python-client/python_client/utils/kuberay_cluster_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,17 +247,6 @@ def populate_worker_group(
],
}
],
"initContainers": [
{
"command": [
"sh",
"-c",
"until nslookup $RAY_IP.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local; do echo waiting for K8s Service $RAY_IP; sleep 2; done",
],
"image": init_image,
"name": "init",
}
],
"volumes": [{"emptyDir": {}, "name": "ray-logs"}],
}
},
Expand Down
1 change: 0 additions & 1 deletion clients/python-client/requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions clients/python-client/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ classifiers =
[options]
packages = find:
python_requires = >=3.6.5
install_requires = kubernetes

[options.packages.find]
exclude =
Expand Down

0 comments on commit 83698cd

Please sign in to comment.