Skip to content

Commit b168fee

Browse files
committed
Add python 3.8 support
1 parent c7ff278 commit b168fee

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ What does it do?
1414

1515
| | macOS 10.6+ | manylinux i686 | manylinux x86_64 | Windows 32bit | Windows 64bit |
1616
|---|---|---|---|---|---|
17-
| Python 2.7 ||||² |² |
18-
| Python 3.4 |||| ✅¹²| ✅¹²|
17+
| Python 2.7 ||||¹ |¹ |
18+
| Python 3.4 |||| | |
1919
| Python 3.5 ||||||
2020
| Python 3.6 ||||||
2121
| Python 3.7 ||||||
22+
| Python 3.8 ||||||
2223

23-
> ¹ Not supported on Azure Pipelines
24-
>
25-
> ² Not supported on Travis
24+
> ¹ Not supported on Travis
2625
2726
- Builds manylinux, macOS and Windows (32 and 64bit) wheels using Azure Pipelines, Travis CI, AppVeyor, and CircleCI
2827
- Bundles shared library dependencies on Linux and macOS through [auditwheel](https://github.com/pypa/auditwheel) and [delocate](https://github.com/matthew-brett/delocate)
@@ -79,14 +78,7 @@ jobs:
7978
- job: windows
8079
pool: {vmImage: 'vs2017-win2016'}
8180
steps:
82-
- {task: UsePythonVersion@0, inputs: {versionSpec: '2.7', architecture: x86}}
83-
- {task: UsePythonVersion@0, inputs: {versionSpec: '2.7', architecture: x64}}
84-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.5', architecture: x86}}
85-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.5', architecture: x64}}
86-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x86}}
87-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
88-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x86}}
89-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
81+
- task: UsePythonVersion@0
9082
- script: choco install vcpython27 -f -y
9183
displayName: Install Visual C++ for Python 2.7
9284
- bash: |
@@ -312,7 +304,7 @@ When both options are specified, both conditions are applied and only builds wit
312304
313305
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).
314306
315-
Python tags look like `cp27` `cp34` `cp35` `cp36` `cp37`
307+
Python tags look like `cp27` `cp34` `cp35` `cp36` `cp37` `cp38`
316308
317309
Platform tags look like `macosx_10_6_intel` `manylinux_x86_64` `manylinux_i686` `win32` `win_amd64`
318310

cibuildwheel/linux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ def get_python_configurations(build_selector):
1818
PythonConfiguration(identifier='cp35-manylinux_x86_64', path='/opt/python/cp35-cp35m'),
1919
PythonConfiguration(identifier='cp36-manylinux_x86_64', path='/opt/python/cp36-cp36m'),
2020
PythonConfiguration(identifier='cp37-manylinux_x86_64', path='/opt/python/cp37-cp37m'),
21+
PythonConfiguration(identifier='cp38-manylinux_x86_64', path='/opt/python/cp38-cp38'),
2122
PythonConfiguration(identifier='cp27-manylinux_i686', path='/opt/python/cp27-cp27m'),
2223
PythonConfiguration(identifier='cp27-manylinux_i686', path='/opt/python/cp27-cp27mu'),
2324
PythonConfiguration(identifier='cp34-manylinux_i686', path='/opt/python/cp34-cp34m'),
2425
PythonConfiguration(identifier='cp35-manylinux_i686', path='/opt/python/cp35-cp35m'),
2526
PythonConfiguration(identifier='cp36-manylinux_i686', path='/opt/python/cp36-cp36m'),
2627
PythonConfiguration(identifier='cp37-manylinux_i686', path='/opt/python/cp37-cp37m'),
28+
PythonConfiguration(identifier='cp38-manylinux_i686', path='/opt/python/cp38-cp38'),
2729
]
2830

2931
# skip builds as required

cibuildwheel/macos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def get_python_configurations(build_selector):
1919
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'),
2020
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'),
2121
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'),
22+
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'),
2223
]
2324

2425
# skip builds as required

test/shared/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,28 @@ def expected_wheels(package_name, package_version):
5555
'{package_name}-{package_version}-cp35-cp35m-manylinux1_x86_64.whl',
5656
'{package_name}-{package_version}-cp36-cp36m-manylinux1_x86_64.whl',
5757
'{package_name}-{package_version}-cp37-cp37m-manylinux1_x86_64.whl',
58+
'{package_name}-{package_version}-cp38-cp38-manylinux1_x86_64.whl',
5859
'{package_name}-{package_version}-cp27-cp27m-manylinux2010_x86_64.whl',
5960
'{package_name}-{package_version}-cp27-cp27mu-manylinux2010_x86_64.whl',
6061
'{package_name}-{package_version}-cp34-cp34m-manylinux2010_x86_64.whl',
6162
'{package_name}-{package_version}-cp35-cp35m-manylinux2010_x86_64.whl',
6263
'{package_name}-{package_version}-cp36-cp36m-manylinux2010_x86_64.whl',
6364
'{package_name}-{package_version}-cp37-cp37m-manylinux2010_x86_64.whl',
65+
'{package_name}-{package_version}-cp38-cp38-manylinux2010_x86_64.whl',
6466
'{package_name}-{package_version}-cp27-cp27m-manylinux1_i686.whl',
6567
'{package_name}-{package_version}-cp27-cp27mu-manylinux1_i686.whl',
6668
'{package_name}-{package_version}-cp34-cp34m-manylinux1_i686.whl',
6769
'{package_name}-{package_version}-cp35-cp35m-manylinux1_i686.whl',
6870
'{package_name}-{package_version}-cp36-cp36m-manylinux1_i686.whl',
6971
'{package_name}-{package_version}-cp37-cp37m-manylinux1_i686.whl',
72+
'{package_name}-{package_version}-cp38-cp38-manylinux1_i686.whl',
7073
'{package_name}-{package_version}-cp27-cp27m-manylinux2010_i686.whl',
7174
'{package_name}-{package_version}-cp27-cp27mu-manylinux2010_i686.whl',
7275
'{package_name}-{package_version}-cp34-cp34m-manylinux2010_i686.whl',
7376
'{package_name}-{package_version}-cp35-cp35m-manylinux2010_i686.whl',
7477
'{package_name}-{package_version}-cp36-cp36m-manylinux2010_i686.whl',
7578
'{package_name}-{package_version}-cp37-cp37m-manylinux2010_i686.whl',
79+
'{package_name}-{package_version}-cp38-cp38-manylinux2010_i686.whl',
7680
]
7781
elif platform == 'windows':
7882
templates = [
@@ -94,6 +98,7 @@ def expected_wheels(package_name, package_version):
9498
'{package_name}-{package_version}-cp35-cp35m-macosx_10_6_intel.whl',
9599
'{package_name}-{package_version}-cp36-cp36m-macosx_10_6_intel.whl',
96100
'{package_name}-{package_version}-cp37-cp37m-macosx_10_6_intel.whl',
101+
'{package_name}-{package_version}-cp38-cp38-macosx_10_9_x86_64.whl',
97102
]
98103
else:
99104
raise Exception('unsupported platform')

0 commit comments

Comments
 (0)