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:
823
823
- name : " release"
824
824
tags : ["release"]
825
825
exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
826
- git_tag_only : true
827
826
commands :
828
827
- command : shell.exec
829
828
type : test
@@ -2618,6 +2617,7 @@ buildvariants:
2618
2617
matrix_spec :
2619
2618
platform : [ubuntu-20.04, windows-64-vsMulti-small, macos-1014]
2620
2619
display_name : " Release ${platform}"
2620
+ batchtime : 20160 # 14 days
2621
2621
tasks :
2622
2622
- name : " release"
2623
2623
Original file line number Diff line number Diff line change @@ -25,7 +25,17 @@ createvirtualenv () {
25
25
fi
26
26
# Upgrade to the latest versions of pip setuptools wheel so that
27
27
# 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
29
39
}
30
40
31
41
# Usage:
You can’t perform that action at this time.
0 commit comments