diff --git a/scripts/pr_format/pr_format/install_pipenv.sh b/scripts/pr_format/pr_format/install_pipenv.sh index c235e4a109..c6fb023088 100755 --- a/scripts/pr_format/pr_format/install_pipenv.sh +++ b/scripts/pr_format/pr_format/install_pipenv.sh @@ -11,15 +11,3 @@ else fi pip install "${package_name_with_version}" - -if [ -f ${file_name} ]; then - new_version="$(pip list --outdated | grep pipenv || true)" - new_version="$(echo -e "${new_version}" | awk '{print $3}')" - if [ -n "${new_version}" ]; then - PATTERN_BEFORE="${package_name}[^ ]+" - PATTERN_AFTER="${package_name}==${new_version}" - sed -i -E "s/${PATTERN_BEFORE}/${PATTERN_AFTER}/g" ${file_name} - pip install "${package_name}==${new_version}" - exit 1 - fi -fi