From b9208ea0ffb3849fd0fcb17eaac596b56da87670 Mon Sep 17 00:00:00 2001 From: Maroun Touma Date: Thu, 31 Oct 2024 13:45:05 -0400 Subject: [PATCH] fix issue for toolkit[ray] not being found Signed-off-by: Maroun Touma --- .make.defaults | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.make.defaults b/.make.defaults index d6649dab3..3a7f690cf 100644 --- a/.make.defaults +++ b/.make.defaults @@ -672,6 +672,7 @@ ifeq ($(USE_REPO_LIB_SRC), 1) @# Help: Update pyproject.toml to depend on lib versions defined in .make.versions if [ -e pyproject.toml ]; then \ cat pyproject.toml | sed \ + -e 's/"data-prep-toolkit\[ray\]\([=><~][=]\).*"/"data-prep-toolkit[ray]\1$(DPK_LIB_VERSION)"/' \ -e 's/"data-prep-toolkit-ray\([=><~][=]\).*"/"data-prep-toolkit-ray\1$(DPK_LIB_VERSION)"/' \ -e 's/"data-prep-toolkit-spark\([=><~][=]\).*"/"data-prep-toolkit-spark\1$(DPK_LIB_VERSION)"/' \ -e 's/"data-prep-toolkit-kfp\([=><~][=]\).*"/"data-prep-toolkit-kfp\1$(DPK_LIB_KFP_VERSION)"/' \ @@ -683,6 +684,7 @@ ifeq ($(USE_REPO_LIB_SRC), 1) fi if [ -e requirements.txt ]; then \ cat requirements.txt | sed \ + -e 's/data-prep-toolkit\[ray\]\([=><~][=]\).*/data-prep-toolkit[ray]\1$(DPK_LIB_VERSION)/' \ -e 's/data-prep-toolkit-ray\([=><~][=]\).*/data-prep-toolkit-ray\1$(DPK_LIB_VERSION)/' \ -e 's/data-prep-toolkit-transforms\([=><~][=]\).*/data-prep-toolkit-transforms\1$(DPK_TRANSFORMS_VERSION)/' \ -e 's/data-prep-toolkit-spark\([=><~][=]\).*/data-prep-toolkit-spark\1$(DPK_LIB_VERSION)/' \