Skip to content

Commit e6909a8

Browse files
committed
Add python 3.8 support
1 parent f2ef7a6 commit e6909a8

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ What does it do?
1818
| Python 3.5 ||||||
1919
| Python 3.6 ||||||
2020
| Python 3.7 ||||||
21+
| Python 3.8 ||||||
2122

2223
> ¹ Not supported on Travis
2324
@@ -76,14 +77,7 @@ jobs:
7677
- job: windows
7778
pool: {vmImage: 'vs2017-win2016'}
7879
steps:
79-
- {task: UsePythonVersion@0, inputs: {versionSpec: '2.7', architecture: x86}}
80-
- {task: UsePythonVersion@0, inputs: {versionSpec: '2.7', architecture: x64}}
81-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.5', architecture: x86}}
82-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.5', architecture: x64}}
83-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x86}}
84-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
85-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x86}}
86-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
80+
- task: UsePythonVersion@0
8781
- script: choco install vcpython27 -f -y
8882
displayName: Install Visual C++ for Python 2.7
8983
- bash: |
@@ -309,7 +303,7 @@ When both options are specified, both conditions are applied and only builds wit
309303
310304
The format is `python_tag-platform_tag`. The tags are similar but not identical to the ones defined in [PEP 425](https://www.python.org/dev/peps/pep-0425/#details).
311305
312-
Python tags look like `cp27` `cp35` `cp36` `cp37`
306+
Python tags look like `cp27` `cp34` `cp35` `cp36` `cp37` `cp38`
313307
314308
Platform tags look like `macosx_10_6_intel` `manylinux_x86_64` `manylinux_i686` `win32` `win_amd64`
315309

cibuildwheel/linux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ def get_python_configurations(build_selector):
1717
PythonConfiguration(identifier='cp35-manylinux_x86_64', path='/opt/python/cp35-cp35m'),
1818
PythonConfiguration(identifier='cp36-manylinux_x86_64', path='/opt/python/cp36-cp36m'),
1919
PythonConfiguration(identifier='cp37-manylinux_x86_64', path='/opt/python/cp37-cp37m'),
20+
PythonConfiguration(identifier='cp38-manylinux_x86_64', path='/opt/python/cp38-cp38'),
2021
PythonConfiguration(identifier='cp27-manylinux_i686', path='/opt/python/cp27-cp27m'),
2122
PythonConfiguration(identifier='cp27-manylinux_i686', path='/opt/python/cp27-cp27mu'),
2223
PythonConfiguration(identifier='cp35-manylinux_i686', path='/opt/python/cp35-cp35m'),
2324
PythonConfiguration(identifier='cp36-manylinux_i686', path='/opt/python/cp36-cp36m'),
2425
PythonConfiguration(identifier='cp37-manylinux_i686', path='/opt/python/cp37-cp37m'),
26+
PythonConfiguration(identifier='cp38-manylinux_i686', path='/opt/python/cp38-cp38'),
2527
]
2628

2729
# skip builds as required

cibuildwheel/macos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def get_python_configurations(build_selector):
1818
PythonConfiguration(version='3.5', identifier='cp35-macosx_10_6_intel', url='https://www.python.org/ftp/python/3.5.4/python-3.5.4-macosx10.6.pkg'),
1919
PythonConfiguration(version='3.6', identifier='cp36-macosx_10_6_intel', url='https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.6.pkg'),
2020
PythonConfiguration(version='3.7', identifier='cp37-macosx_10_6_intel', url='https://www.python.org/ftp/python/3.7.5/python-3.7.5-macosx10.6.pkg'),
21+
PythonConfiguration(version='3.8', identifier='cp38-macosx_10_9_x86_64', url='https://www.python.org/ftp/python/3.8.0/python-3.8.0-macosx10.9.pkg'),
2122
]
2223

2324
# skip builds as required

test/shared/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,25 @@ def expected_wheels(package_name, package_version):
5454
'{package_name}-{package_version}-cp35-cp35m-manylinux1_x86_64.whl',
5555
'{package_name}-{package_version}-cp36-cp36m-manylinux1_x86_64.whl',
5656
'{package_name}-{package_version}-cp37-cp37m-manylinux1_x86_64.whl',
57+
'{package_name}-{package_version}-cp38-cp38-manylinux1_x86_64.whl',
5758
'{package_name}-{package_version}-cp27-cp27m-manylinux2010_x86_64.whl',
5859
'{package_name}-{package_version}-cp27-cp27mu-manylinux2010_x86_64.whl',
5960
'{package_name}-{package_version}-cp35-cp35m-manylinux2010_x86_64.whl',
6061
'{package_name}-{package_version}-cp36-cp36m-manylinux2010_x86_64.whl',
6162
'{package_name}-{package_version}-cp37-cp37m-manylinux2010_x86_64.whl',
63+
'{package_name}-{package_version}-cp38-cp38-manylinux2010_x86_64.whl',
6264
'{package_name}-{package_version}-cp27-cp27m-manylinux1_i686.whl',
6365
'{package_name}-{package_version}-cp27-cp27mu-manylinux1_i686.whl',
6466
'{package_name}-{package_version}-cp35-cp35m-manylinux1_i686.whl',
6567
'{package_name}-{package_version}-cp36-cp36m-manylinux1_i686.whl',
6668
'{package_name}-{package_version}-cp37-cp37m-manylinux1_i686.whl',
69+
'{package_name}-{package_version}-cp38-cp38-manylinux1_i686.whl',
6770
'{package_name}-{package_version}-cp27-cp27m-manylinux2010_i686.whl',
6871
'{package_name}-{package_version}-cp27-cp27mu-manylinux2010_i686.whl',
6972
'{package_name}-{package_version}-cp35-cp35m-manylinux2010_i686.whl',
7073
'{package_name}-{package_version}-cp36-cp36m-manylinux2010_i686.whl',
7174
'{package_name}-{package_version}-cp37-cp37m-manylinux2010_i686.whl',
75+
'{package_name}-{package_version}-cp38-cp38-manylinux2010_i686.whl',
7276
]
7377
elif platform == 'windows':
7478
templates = [
@@ -89,6 +93,7 @@ def expected_wheels(package_name, package_version):
8993
'{package_name}-{package_version}-cp35-cp35m-macosx_10_6_intel.whl',
9094
'{package_name}-{package_version}-cp36-cp36m-macosx_10_6_intel.whl',
9195
'{package_name}-{package_version}-cp37-cp37m-macosx_10_6_intel.whl',
96+
'{package_name}-{package_version}-cp38-cp38-macosx_10_9_x86_64.whl',
9297
]
9398
else:
9499
raise Exception('unsupported platform')

0 commit comments

Comments
 (0)