Update packaging==21.3

This commit is contained in:
JonnyWong16 2021-11-28 13:58:52 -08:00
parent 0ec2d70e4b
commit f52d985f8c
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 17 additions and 46 deletions

View file

@ -98,7 +98,7 @@ def _get_musl_version(executable: str) -> Optional[_MuslVersion]:
with contextlib.ExitStack() as stack:
try:
f = stack.enter_context(open(executable, "rb"))
except IOError:
except OSError:
return None
ld = _parse_ld_musl_from_elf(f)
if not ld: