File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,18 @@ for VERSION in 2.7 3.4 3.5 3.6 3.7 3.8; do
18
18
fi
19
19
rm -rf build
20
20
21
- $PYTHON setup.py bdist_wheel
21
+ # Install wheel if not already there.
22
+ if ! $PYTHON -m wheel version; then
23
+ createvirtualenv $PYTHON releasevenv
24
+ WHEELPYTHON=python
25
+ pip install --upgrade wheel
26
+ else
27
+ WHEELPYTHON=$PYTHON
28
+ fi
29
+
30
+ $WHEELPYTHON setup.py bdist_wheel
31
+ deactivate || true
32
+ rm -rf releasevenv
22
33
23
34
# Test that each wheel is installable.
24
35
for release in dist/* ; do
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ mv dist/* validdist || true
11
11
12
12
# Compile wheels
13
13
for PYTHON in /opt/python/* /bin/python; do
14
- # Skip Python 3.3 and 3.9.
15
- if [[ " $PYTHON " == * " cp33" * || " $PYTHON " == * " cp39" * ]]; then
14
+ if [[ ! $PYTHON =~ (cp27| cp34| cp35| cp36| cp37| cp38| cp39) ]]; then
16
15
continue
17
16
fi
18
17
# https://github.com/pypa/manylinux/issues/49
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ unexpected=$(find dist \! \( -iname dist -or \
27
27
-iname ' *cp35*' -or \
28
28
-iname ' *cp36*' -or \
29
29
-iname ' *cp37*' -or \
30
- -iname ' *cp38*' \) )
30
+ -iname ' *cp38*' -or \
31
+ -iname ' *cp39*' \) )
31
32
if [ -n " $unexpected " ]; then
32
33
echo " Unexpected files:" $unexpected
33
34
exit 1
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ rm -rf validdist
8
8
mkdir -p validdist
9
9
mv dist/* validdist || true
10
10
11
- for VERSION in 27 34 35 36 37 38; do
11
+ for VERSION in 27 34 35 36 37 38 39 ; do
12
12
_pythons=(C:/Python/Python${VERSION} /python.exe \
13
13
C:/Python/32/Python${VERSION} /python.exe)
14
14
for PYTHON in " ${_pythons[@]} " ; do
Original file line number Diff line number Diff line change @@ -817,6 +817,7 @@ tasks:
817
817
818
818
- name : " release"
819
819
tags : ["release"]
820
+ exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
820
821
git_tag_only : true
821
822
commands :
822
823
- command : shell.exec
You can’t perform that action at this time.
0 commit comments