File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -866,7 +866,6 @@ tasks:
866866 - name : " release"
867867 tags : ["release"]
868868 exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
869- git_tag_only : true
870869 commands :
871870 - command : shell.exec
872871 type : test
@@ -2712,6 +2711,7 @@ buildvariants:
27122711 matrix_spec :
27132712 platform : [ubuntu-20.04, windows-64-vsMulti-small, macos-1014]
27142713 display_name : " Release ${platform}"
2714+ batchtime : 20160 # 14 days
27152715 tasks :
27162716 - name : " release"
27172717
Original file line number Diff line number Diff line change @@ -25,7 +25,17 @@ createvirtualenv () {
2525 fi
2626 # Upgrade to the latest versions of pip setuptools wheel so that
2727 # pip can always download the latest cryptography+cffi wheels.
28- python -m pip install --upgrade pip setuptools wheel
28+ PYTHON_VERSION=$( python -c ' import sys;print("%s.%s" % sys.version_info[:2])' )
29+ if [[ $PYTHON_VERSION == " 3.4" ]]; then
30+ # pip 19.2 dropped support for Python 3.4.
31+ python -m pip install --upgrade ' pip<19.2'
32+ elif [[ $PYTHON_VERSION == " 2.7" || $PYTHON_VERSION == " 3.5" ]]; then
33+ # pip 21 will drop support for Python 2.7 and 3.5.
34+ python -m pip install --upgrade ' pip<21'
35+ else
36+ python -m pip install --upgrade pip
37+ fi
38+ python -m pip install --upgrade setuptools wheel
2939}
3040
3141# Usage:
You can’t perform that action at this time.
0 commit comments