diff options
author | Robert Guo <guo@Roberts-MacBook-Pro.local> | 2021-03-25 17:03:15 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-25 21:32:45 +0000 |
commit | 6afd283045dc43c0b249424ba03a72b89e5ad8c6 (patch) | |
tree | 2c6362669a55ef12686e3094a9fba543455f705b /etc | |
parent | 2d485778200b85d688db123ee922b17f37c3df4f (diff) | |
download | mongo-6afd283045dc43c0b249424ba03a72b89e5ad8c6.tar.gz |
SERVER-53250 use new pip resolver
Diffstat (limited to 'etc')
-rw-r--r-- | etc/evergreen.yml | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 9aa566aecd6..da9e79b7133 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -1158,27 +1158,9 @@ functions: # Windows path separator toolchain_txt="$pip_dir/toolchain-requirements.txt" ${activate_virtualenv} - pip_resolver="" - # Upgrade pip only on x86_64 systems. The upgraded pip is incompatible - # with older versions of setuptools, including those available on - # s390x, and arm64. See SERVER-53250 - uname_arch=$(uname -m || echo "unknown") - if [[ "$uname_arch" == "x86_64" ]]; then - echo "Upgrading pip to 20.3.1" - python -m pip install "pip==20.3.1" - # this flag is only supported on the 20.x versions of pip. - pip_resolver="--use-deprecated=legacy-resolver" - echo "Upgraded pip to 20.3.1, using legacy resolver" - else - echo "Skipping pip upgrade, architecture was: $uname_arch" - fi - python -m pip install $pip_resolver -r "$toolchain_txt" -q - packager_arch="${packager_arch}" - if [[ $packager_arch != "arm64" ]]; then - # For now, skip upgrading pip on ARM variants due to setup tools - # issue. - python -m pip install --upgrade pip - fi + echo "Upgrading pip to 21.0.1" + python -m pip install "pip==21.0.1" + python -m pip install -r "$toolchain_txt" -q python -m pip freeze > pip-requirements.txt "upload pip requirements": &upload_pip_requirements |