Fixing tests failing because of new manylinux2010 default
This commit is contained in:
+11
-1
@@ -42,11 +42,21 @@ def cibuildwheel_run(project_path, env=None, add_env=None):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def expected_wheels(package_name, package_version):
|
def expected_wheels(package_name, package_version, manylinux_version='2010'):
|
||||||
'''
|
'''
|
||||||
Returns a list of expected wheels from a run of cibuildwheel.
|
Returns a list of expected wheels from a run of cibuildwheel.
|
||||||
'''
|
'''
|
||||||
if platform == 'linux':
|
if platform == 'linux':
|
||||||
|
if manylinux_version == '2010':
|
||||||
|
templates = [
|
||||||
|
'{package_name}-{package_version}-cp27-cp27m-manylinux2010_x86_64.whl',
|
||||||
|
'{package_name}-{package_version}-cp27-cp27mu-manylinux2010_x86_64.whl',
|
||||||
|
'{package_name}-{package_version}-cp34-cp34m-manylinux2010_x86_64.whl',
|
||||||
|
'{package_name}-{package_version}-cp35-cp35m-manylinux2010_x86_64.whl',
|
||||||
|
'{package_name}-{package_version}-cp36-cp36m-manylinux2010_x86_64.whl',
|
||||||
|
'{package_name}-{package_version}-cp37-cp37m-manylinux2010_x86_64.whl',
|
||||||
|
]
|
||||||
|
elif manylinux_version == '1':
|
||||||
templates = [
|
templates = [
|
||||||
'{package_name}-{package_version}-cp27-cp27m-manylinux1_x86_64.whl',
|
'{package_name}-{package_version}-cp27-cp27m-manylinux1_x86_64.whl',
|
||||||
'{package_name}-{package_version}-cp27-cp27mu-manylinux1_x86_64.whl',
|
'{package_name}-{package_version}-cp27-cp27mu-manylinux1_x86_64.whl',
|
||||||
|
|||||||
Reference in New Issue
Block a user