Skip to content

Commit

Permalink
Unpin setproctitle, fixes #37727 (#40289)
Browse files Browse the repository at this point in the history
Unpin setproctitle, fixes #37727

Signed-off-by: Tim Paine <[email protected]>
  • Loading branch information
timkpaine authored May 23, 2024
1 parent d8f5aeb commit 4fb670b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/env/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ install_thirdparty_packages() {
fi
mkdir -p "${WORKSPACE_DIR}/python/ray/thirdparty_files"
RAY_THIRDPARTY_FILES="$(realpath "${WORKSPACE_DIR}/python/ray/thirdparty_files")"
CC=gcc python -m pip install psutil==5.9.6 setproctitle==1.2.2 colorama==0.4.6 --target="${RAY_THIRDPARTY_FILES}"
CC=gcc python -m pip install psutil==5.9.6 "setproctitle>=1.2.2,<1.4" colorama==0.4.6 --target="${RAY_THIRDPARTY_FILES}"
}

install_dependencies() {
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def build(build_python, build_java, build_cpp):
# that certain flags will not be passed along such as --user or sudo.
# TODO(rkn): Fix this.
if not os.getenv("SKIP_THIRDPARTY_INSTALL"):
pip_packages = ["psutil", "setproctitle==1.2.2", "colorama"]
pip_packages = ["psutil", "setproctitle>=1.2.2,<1.4", "colorama"]
subprocess.check_call(
[
sys.executable,
Expand Down

0 comments on commit 4fb670b

Please sign in to comment.