Generate separate python2 constraint files

This commit is contained in:
Joe Rickerby
2020-01-31 20:27:29 +00:00
parent 1b9b6e9000
commit 8ead985cfd
3 changed files with 38 additions and 0 deletions
+8
View File
@@ -14,6 +14,14 @@ subprocess.check_call([
'--upgrade',
'cibuildwheel/resources/constraints.in',
])
subprocess.check_call([
'./env2/bin/pip-compile',
'--allow-unsafe',
'--generate-hashes',
'--upgrade',
'cibuildwheel/resources/constraints.in',
'--output-file', 'cibuildwheel/resources/constraints-python2.txt'
])
Image = namedtuple('Image', ['manylinux_version', 'arch'])