File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -341,17 +341,16 @@ def _stable_abi(self) -> Optional[str]:
341341 and .so on other platforms) and, if they all share the same
342342 PEP 3149 filename stable ABI tag, return it.
343343
344- All files that look like extension modules are verified to
345- have a file name compatibel with what is expected by the
346- Python interpreter. An exception is raised otherwise.
347-
348344 Other files are ignored.
349345
350346 """
351347 soext = sorted (_EXTENSION_SUFFIXES , key = len )[0 ]
352348 abis = []
353349
354350 for path , _ in self ._wheel_files ['platlib' ]:
351+ # NOTE: When searching for shared objects files, we assume the host
352+ # and build machines have the same soext, even though that we might
353+ # be cross compiling.
355354 if path .suffix == soext :
356355 match = re .match (r'^[^.]+(.*)$' , path .name )
357356 assert match is not None
You can’t perform that action at this time.
0 commit comments