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 @@ -823,7 +823,6 @@ tasks:
823823 - name : " release"
824824 tags : ["release"]
825825 exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
826- git_tag_only : true
827826 commands :
828827 - command : shell.exec
829828 type : test
@@ -2618,6 +2617,7 @@ buildvariants:
26182617 matrix_spec :
26192618 platform : [ubuntu-20.04, windows-64-vsMulti-small, macos-1014]
26202619 display_name : " Release ${platform}"
2620+ batchtime : 20160 # 14 days
26212621 tasks :
26222622 - name : " release"
26232623
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