File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 56
56
python-version : ${{ env.PYTHON_VERSION }}
57
57
cache : ' pipenv'
58
58
59
- # Sync fails with pipenv 2024.1.0 (current latest version)
60
- # TODO: We should retry with later versions of pipenv once they are available.
61
59
- name : Install pipenv and pip-versions
62
- run : pip install pipenv==2024.0.3 pip-versions
60
+ run : pip install pipenv==2024.4.0 pip-versions
63
61
64
62
- name : Update Pipfiles in accordance with Codeflare-SDK latest release
65
63
run : |
74
72
# replace existing version of cf-sdk with new version in Pipfile
75
73
sed -i "s/codeflare-sdk = .*$/codeflare-sdk = \"~=$CODEFLARE_RELEASE_VERSION\"/g" Pipfile
76
74
# Lock dependencies, ensuring pre-release are included and clear previous state
77
- if ! pipenv lock --pre --clear ; then
75
+ if ! pipenv lock --verbose -- pre --clear ; then
78
76
echo "Failed to lock dependencies"
79
77
exit 1
80
78
fi
98
96
echo "Version ${CODEFLARE_RELEASE_VERSION} is available for $package_name"
99
97
# list all Pipfile paths having Codeflare-SDK listed
100
98
# Extracting only directories from file paths, excluding a `.gitworkflow` and `.git` directory
101
- directories+=($(grep --exclude-dir=.git --exclude-dir=.github --include="Pipfile*" -rl "${package_name} = \"~=.*\"" | xargs dirname | sort | uniq))
99
+ # Extracting Intel directories as they are not supported in RHOAI
100
+ directories+=($(grep --exclude-dir=.git --exclude-dir=.github --exclude-dir=intel --exclude-dir=jupyter/intel --include="Pipfile*" -rl "${package_name} = \"~=.*\"" | xargs dirname | sort | uniq))
102
101
counter=0
103
102
total=${#directories[@]}
104
103
for dir in "${directories[@]}"; do
You can’t perform that action at this time.
0 commit comments