Python 3.4 reached the end of its life on 16 March 2019. It's about time to drop support for Python 3.4.
18 lines
534 B
Python
18 lines
534 B
Python
import os
|
|
import utils
|
|
|
|
def test():
|
|
project_dir = os.path.dirname(__file__)
|
|
|
|
# build the wheels
|
|
utils.cibuildwheel_run(project_dir, add_env={
|
|
'CIBW_BUILD': 'cp3?-*',
|
|
'CIBW_SKIP': 'cp37-*',
|
|
})
|
|
|
|
# check that we got the right wheels. There should be no 2.7 or 3.7.
|
|
expected_wheels = [w for w in utils.expected_wheels('spam', '0.1.0')
|
|
if ('-cp3' in w) and ('-cp37' not in w)]
|
|
actual_wheels = os.listdir('wheelhouse')
|
|
assert set(actual_wheels) == set(expected_wheels)
|