Pin manylinux2010 image used to update dependencies

`manylinux2010` dropped CPython 2.7
Use the tag `2021-02-06-3d322a5` for dependency update which is the last supporting CPython 2.7
This commit is contained in:
mayeut
2021-02-14 19:29:22 +01:00
parent d2772c2293
commit 93c14c805b
+2 -1
View File
@@ -28,7 +28,8 @@ if '--no-docker' in sys.argv:
'--output-file', f'cibuildwheel/resources/constraints-python{python_version}.txt'
], check=True)
else:
image_runner = 'quay.io/pypa/manylinux2010_x86_64:latest'
# latest manylinux2010 image with cpython 2.7 support
image_runner = 'quay.io/pypa/manylinux2010_x86_64:2021-02-06-3d322a5'
subprocess.run(['docker', 'pull', image_runner], check=True)
for python_version in PYTHON_VERSIONS:
abi_flags = '' if int(python_version) >= 38 else 'm'