]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (GH-101837)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 12 Feb 2023 05:18:07 +0000 (21:18 -0800)
committerGitHub <noreply@github.com>
Sun, 12 Feb 2023 05:18:07 +0000 (21:18 -0800)
commitd17cc3dfeb9c3d0eecea4405b1ee3d9e36a7e299
tree1501a8120e0d972bd799b5a08e06f0164337a3e0
parentc5c12381b38494ebc2346bb01d3426160e068d35
gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (GH-101837)

Prevent test_tools from copying 1000M of "source"

It doesn't need a git repo, just the checkout.  We skip .git metadata, Doc/build, Doc/venv, and `__pycache__` subdirs, that developers often have in their clients to reduce the size of the source tree copy ten-fold.

This should significantly reduce IO and presumably time on buildbots during this long test.
(cherry picked from commit 1d194235e4d5981b5fea25c75318d61189103a58)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Misc/NEWS.d/next/Tests/2023-02-11-20-28-08.gh-issue-89792.S-Y5BZ.rst [new file with mode: 0644]
Tools/freeze/test/freeze.py