diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-10 18:50:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 18:50:10 (GMT) |
commit | 95f5c8c46c16b53c664d9d86eca2682e31167825 (patch) | |
tree | 5036ff581bc4bd718448f9a7523a03bc67c8187f /Misc | |
parent | 4cc9e875c2fa6be1759656db4558305e9bb9cb8d (diff) | |
download | cpython-95f5c8c46c16b53c664d9d86eca2682e31167825.zip cpython-95f5c8c46c16b53c664d9d86eca2682e31167825.tar.gz cpython-95f5c8c46c16b53c664d9d86eca2682e31167825.tar.bz2 |
[3.11] gh-109980: Fix test_tarfile_vs_tar on macOS (GH-112905) (#112928)
gh-109980: Fix test_tarfile_vs_tar on macOS (GH-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.
(cherry picked from commit dd2ebdf89ff144e89db180bd552c50615f712cb2)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2023-12-09-21-27-46.gh-issue-109980.y--500.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2023-12-09-21-27-46.gh-issue-109980.y--500.rst b/Misc/NEWS.d/next/Tests/2023-12-09-21-27-46.gh-issue-109980.y--500.rst new file mode 100644 index 0000000..c475a33 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2023-12-09-21-27-46.gh-issue-109980.y--500.rst @@ -0,0 +1,2 @@ +Fix ``test_tarfile_vs_tar`` in ``test_shutil`` for macOS, where system tar +can include more information in the archive than :mod:`shutil.make_archive`. |