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:
Usama Sadiq
2021-08-23 12:09:40 +05:00
committed by GitHub
parent 32d17c8810
commit c6ecdf735c
2 changed files with 4 additions and 3 deletions

View File

@@ -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