summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-10 18:50:10 (GMT)
committerGitHub <noreply@github.com>2023-12-10 18:50:10 (GMT)
commit95f5c8c46c16b53c664d9d86eca2682e31167825 (patch)
tree5036ff581bc4bd718448f9a7523a03bc67c8187f /Misc
parent4cc9e875c2fa6be1759656db4558305e9bb9cb8d (diff)
downloadcpython-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.rst2
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`.