BOM-2715: Update the post-pip-compile script (#28301)
* update the post-pip-compile script to fix the py38.txt parsing for sandbox requirements.
This commit is contained in:
@@ -28,7 +28,8 @@ function clean_file {
|
||||
# Code sandbox local package installs must be non-editable due to file
|
||||
# permissions issues. edxapp ones must stay editable until assorted
|
||||
# packaging bugs are fixed.
|
||||
if [[ "${FILE_PATH}" == "requirements/edx-sandbox/py35.txt" ]]; then
|
||||
if [[ "${FILE_PATH}" == "requirements/edx-sandbox/py35.txt" ||
|
||||
"${FILE_PATH}" == "requirements/edx-sandbox/py38.txt" ]]; then
|
||||
sed "s|-e common/lib/|common/lib/|" ${FILE_PATH} > ${TEMP_FILE}
|
||||
mv ${TEMP_FILE} ${FILE_PATH}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user