]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109980: Fix test_tarfile_vs_tar on macOS (#112905)
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 10 Dec 2023 11:38:49 +0000 (12:38 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Dec 2023 11:38:49 +0000 (12:38 +0100)
commitdd2ebdf89ff144e89db180bd552c50615f712cb2
tree1bfeb6613807e0b8f7c239f3ee79e3918f2952c8
parent5bf7580d72259d7d64f5ee8cfc2df677de5310a4
gh-109980: Fix test_tarfile_vs_tar on macOS (#112905)

On recentish macOS versions the system tar
command includes system metadata (ACLs, extended attributes
and resource forks) in the tar archive, which
shutil.make_archive will not do. This can cause
spurious test failures.
Lib/test/test_shutil.py
Misc/NEWS.d/next/Tests/2023-12-09-21-27-46.gh-issue-109980.y--500.rst [new file with mode: 0644]