Files
Kai-Hsun ChenandGitHub 678ec2525e [release] Update Ray image to 2.34.0 (#2303)
* update to 2.34.0

Signed-off-by: kaihsun <[email protected]>

* use DeploymentHandle instead

* change to new Serve API

Signed-off-by: kaihsun <[email protected]>

* skip ray serve autoscaling

Signed-off-by: kaihsun <[email protected]>

* fix autoscaling issue

Signed-off-by: kaihsun <[email protected]>

---------

Signed-off-by: kaihsun <[email protected]>
2024-08-13 18:18:59 -07:00
..

Overview

For developers

make sure you have installed setuptool

pip install -U pip setuptools

run the pip command

from the directory path/to/kuberay/clients/python-client

pip install -e .

to uninstall the module run

pip uninstall python-client

For testing run

python -m unittest discover 'path/to/kuberay/clients/python-client/python_client_test/'

Coverage report

install prerequisites

sudo apt install libsqlite3-dev

pip3 install db-sqlite3

pyenv install 3.6.5 # or your Python version

pip install coverage

To gather data python -m coverage run -m unittest

to generate a coverage report python -m coverage report

to generate the test coverage report in HTML format python -m coverage html