We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7699db3 + 74c99e0 commit 70fae8dCopy full SHA for 70fae8d
cibuildwheel/linux.py
@@ -117,10 +117,20 @@ def check_all_python_exist(
117
*, platform_configs: Iterable[PythonConfiguration], container: OCIContainer
118
) -> None:
119
exist = True
120
+ has_manylinux_interpreters = True
121
messages = []
122
+
123
+ try:
124
+ # use capture_output to keep quiet
125
+ container.call(["manylinux-interpreters", "--help"], capture_output=True)
126
+ except subprocess.CalledProcessError:
127
+ has_manylinux_interpreters = False
128
129
for config in platform_configs:
130
python_path = config.path / "bin" / "python"
131
try:
132
+ if has_manylinux_interpreters:
133
+ container.call(["manylinux-interpreters", "ensure", config.path.name])
134
container.call(["test", "-x", python_path])
135
except subprocess.CalledProcessError:
136
messages.append(
0 commit comments