Use latest pip & pip-tools in jenkins_env (#29004)

* fix: replace pip-sync with pip install in env creation

* fix: use pip-tools==6.4.0 with pip==21.3
This commit is contained in:
Usama Sadiq
2021-10-13 18:40:18 +05:00
committed by GitHub
parent 29368ce2df
commit db99cbf79c
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ click==7.1.2
# pip-tools
pep517==0.11.0
# via pip-tools
pip-tools==6.3.0
pip-tools==6.4.0
# via -r requirements/edx/pip-tools.in
tomli==1.2.1
# via pep517

View File

@@ -48,6 +48,7 @@ source $VENV_PATH/edx-venv/bin/activate
# Hack to fix up egg-link files given that the virtualenv is not relocatable
sed -i "s|^/home/jenkins/shallow-clone|`pwd`|" -- \
$VENV_PATH/edx-venv/lib/python*/site-packages/*.egg-link
pip install pip==21.3
pip install -qr requirements/edx/pip-tools.txt
pip-sync -q requirements/edx/testing.txt requirements/edx/django.txt