]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (#101837)
authorGregory P. Smith <greg@krypto.org>
Sun, 12 Feb 2023 04:54:28 +0000 (20:54 -0800)
committerGitHub <noreply@github.com>
Sun, 12 Feb 2023 04:54:28 +0000 (20:54 -0800)
commit1d194235e4d5981b5fea25c75318d61189103a58
treeae4eb3ce046118bcafa828044d71ae502387dc02
parent3eb12df8b526aa5a2ca6b43f21a1c5e7d38ee634
gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (#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.
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