e2e: Fix ignoring pip and setuptools on autoupdate
This commit is contained in:
@@ -9,8 +9,8 @@ source ./venv/bin/activate
|
|||||||
pip --disable-pip-version-check install -r ./requirements.txt
|
pip --disable-pip-version-check install -r ./requirements.txt
|
||||||
|
|
||||||
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | while read -r package ; do
|
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | while read -r package ; do
|
||||||
[[ package == "pip" ]] && continue
|
[[ "$package" == "pip" ]] && continue
|
||||||
[[ package == "setuptools" ]] && continue
|
[[ "$package" == "setuptools" ]] && continue
|
||||||
pip install --upgrade "${package}"
|
pip install --upgrade "${package}"
|
||||||
version="$(pip show "${package}" | grep '^Version' | cut -d ' ' -f 2)"
|
version="$(pip show "${package}" | grep '^Version' | cut -d ' ' -f 2)"
|
||||||
message="e2e_tests/pip: Update ${package} to ${version}"
|
message="e2e_tests/pip: Update ${package} to ${version}"
|
||||||
|
|||||||
Reference in New Issue
Block a user