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:
866
866
- name : " release"
867
867
tags : ["release"]
868
868
exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
869
- git_tag_only : true
870
869
commands :
871
870
- command : shell.exec
872
871
type : test
@@ -2712,6 +2711,7 @@ buildvariants:
2712
2711
matrix_spec :
2713
2712
platform : [ubuntu-20.04, windows-64-vsMulti-small, macos-1014]
2714
2713
display_name : " Release ${platform}"
2714
+ batchtime : 20160 # 14 days
2715
2715
tasks :
2716
2716
- name : " release"
2717
2717
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