Handle tar.xz archives (#536)

This commit is contained in:
Daniel M. Weeks 2023-11-13 10:02:36 -05:00 committed by GitHub
parent 2ab30ea2ec
commit a558dbcfb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,7 +58,7 @@ def is_listed_path(path_part: t.Union[PurePath, str]) -> bool:
_archive_suffix_rx = re.compile( _archive_suffix_rx = re.compile(
r"(\.zip|\.tar\.gz|\.tgz|\.tar\.bz2|-py[23]\.\d-.*|" r"(\.zip|\.tar\.gz|\.tgz|\.tar\.bz2|\.tar\.xz|-py[23]\.\d-.*|"
r"\.win-amd64-py[23]\.\d\..*|\.win32-py[23]\.\d\..*|\.egg)$", r"\.win-amd64-py[23]\.\d\..*|\.win32-py[23]\.\d\..*|\.egg)$",
re.I, re.I,
) )