File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 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(
117117 * , platform_configs : Iterable [PythonConfiguration ], container : OCIContainer
118118) -> None :
119119 exist = True
120+ has_manylinux_interpreters = True
120121 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+
121129 for config in platform_configs :
122130 python_path = config .path / "bin" / "python"
123131 try :
132+ if has_manylinux_interpreters :
133+ container .call (["manylinux-interpreters" , "ensure" , config .path .name ])
124134 container .call (["test" , "-x" , python_path ])
125135 except subprocess .CalledProcessError :
126136 messages .append (
You can’t perform that action at this time.
0 commit comments