File tree 3 files changed +22
-1
lines changed 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,12 @@ matrix:
78
78
- PYTHON_VERSION=3.7
79
79
- VENV=venv
80
80
- USE_CCACHE=1
81
+ - os : osx
82
+ env :
83
+ - PYTHON_VERSION=3.8
84
+ - VENV=venv
85
+ - MB_PYTHON_OSX_VER=10.9
86
+ - MB_ML_VER=2010
81
87
- os : osx
82
88
env :
83
89
- PYTHON_VERSION=pypy-4.0
@@ -143,6 +149,12 @@ matrix:
143
149
osx_image : xcode10
144
150
env :
145
151
- PYTHON_VERSION=3.7
152
+ - os : osx
153
+ osx_image : xcode10
154
+ env :
155
+ - PYTHON_VERSION=3.8
156
+ - MB_PYTHON_OSX_VER=10.9
157
+ - MB_ML_VER=2010
146
158
- os : osx
147
159
osx_image : xcode10.1
148
160
env :
Original file line number Diff line number Diff line change @@ -19,8 +19,14 @@ function cpython_path {
19
19
#
20
20
# For back-compatibility "u" as u_width also means "32"
21
21
local py_ver=" ${1:- 2.7} "
22
+ local abi_suff=m
22
23
local u_width=" ${2:- ${UNICODE_WIDTH} } "
23
24
local u_suff=u
25
+ # Python 3.8 and up no longer uses the PYMALLOC 'm' suffix
26
+ # https://github.com/pypa/wheel/pull/303
27
+ if [ $( lex_ver $py_ver ) -ge $( lex_ver 3.8) ]; then
28
+ abi_suff=" "
29
+ fi
24
30
# Back-compatibility
25
31
if [ " $u_width " == " u" ]; then u_width=32; fi
26
32
# For Python >= 3.4, "u" suffix not meaningful
@@ -32,7 +38,7 @@ function cpython_path {
32
38
exit 1
33
39
fi
34
40
local no_dots=$( echo $py_ver | tr -d .)
35
- echo " /opt/python/cp${no_dots} -cp${no_dots} m ${u_suff} "
41
+ echo " /opt/python/cp${no_dots} -cp${no_dots} $abi_suff ${u_suff} "
36
42
}
37
43
38
44
function repair_wheelhouse {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ LATEST_2p7=2.7.16
21
21
LATEST_3p5=3.5.4
22
22
LATEST_3p6=3.6.8
23
23
LATEST_3p7=3.7.4
24
+ LATEST_3p8=3.8.0rc1
24
25
25
26
26
27
function check_python {
@@ -83,6 +84,8 @@ function fill_pyver {
83
84
echo $LATEST_3p6
84
85
elif [ $ver == " 3.5" ]; then
85
86
echo $LATEST_3p5
87
+ elif [ $ver == " 3.8" ]; then
88
+ echo $LATEST_3p8
86
89
else
87
90
echo " Can't fill version $ver " 1>&2
88
91
exit 1
You can’t perform that action at this time.
0 commit comments