Skip to content

Commit 754570b

Browse files
authored
chore(readme): update instructions for local dependencies installation (#49)
1 parent 147c5ae commit 754570b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ pip install -r requirements_dev.txt
2222

2323
# Create a local installation to include test dependencies
2424
pip install -e .[test]
25+
# Or if saw error messages like "zsh: no matches found: .[test]", try:
26+
pip install -e '.[test]'
2527
```
2628

2729
### Testing
@@ -33,6 +35,13 @@ functionality exist in the file `ray_beam_runner/portability/ray_runner_test.py`
3335

3436
```shell
3537
pytest ray_beam_runner/portability/ray_runner_test.py
38+
39+
# If saw error messages like "TypeError: The type of keyword 'num_returns' must be (<class 'int'>, <class 'NoneType'>), but received type <class 'str'>"
40+
# pick the nightly release works for your platform: https://docs.ray.io/en/latest/ray-overview/installation.html#daily-releases-nightlies
41+
# try to install ray nightly locally, for example:
42+
pip install -U "ray @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp39-cp39-manylinux2014_x86_64.whl"
43+
# and re-run:
44+
pytest ray_beam_runner/portability/ray_runner_test.py
3645
```
3746

3847
To run all local unit tests, you can simply run `pytest` from the root directory.

0 commit comments

Comments
 (0)