Skip to content

[3.11] gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (GH-101837) - #101839

Merged
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-1d19423-3.11
Feb 12, 2023
Merged

miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-1d19423-3.11

Conversation

@miss-islington

@miss-islington miss-islington commented Feb 12, 2023 •

Copy link
Copy Markdown
Contributor

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 1d19423)

Co-authored-by: Gregory P. Smith greg@krypto.org

…freeze test (pythonGH-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 1d19423)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@gpshead gpshead self-assigned this Feb 12, 2023
@miss-islington
miss-islington merged commit d17cc3d into python:3.11 Feb 12, 2023
@miss-islington
miss-islington deleted the backport-1d19423-3.11 branch February 12, 2023 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants