File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,20 @@ def check_all_python_exist(
117
117
* , platform_configs : Iterable [PythonConfiguration ], container : OCIContainer
118
118
) -> None :
119
119
exist = True
120
+ has_manylinux_interpreters = True
120
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
+
121
129
for config in platform_configs :
122
130
python_path = config .path / "bin" / "python"
123
131
try :
132
+ if has_manylinux_interpreters :
133
+ container .call (["manylinux-interpreters" , "ensure" , config .path .name ])
124
134
container .call (["test" , "-x" , python_path ])
125
135
except subprocess .CalledProcessError :
126
136
messages .append (
You can’t perform that action at this time.
0 commit comments