FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test by gpshead · Pull Request #101837 · python/cpython · GitHub

/ cpython Public

gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test - #101837

Merged
gpshead merged 2 commits into
python:mainfrom
gpshead:test_tools/source_copy_shrink
Feb 12, 2023
Merged

gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test#101837
gpshead merged 2 commits into
python:mainfrom
gpshead:test_tools/source_copy_shrink

Conversation

gpshead commented Feb 12, 2023
edited
Loading

Copy link
Copy Markdown
Member

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.

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.
gpshead self-assigned this Feb 12, 2023
gpshead changed the title Test tools/source copy shrink gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test Feb 12, 2023
gpshead added tests Tests in the Lib/test dir needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes and removed needs backport to 3.10 only security fixes labels Feb 12, 2023
gpshead merged commit 1d19423 into python:main Feb 12, 2023

Copy link
Copy Markdown
Contributor

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

gpshead deleted the test_tools/source_copy_shrink branch February 12, 2023 04:54

Copy link
Copy Markdown

GH-101839 is a backport of this pull request to the 3.11 branch.

bedevere-bot removed the needs backport to 3.11 only security fixes label Feb 12, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 12, 2023
…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>
miss-islington added a commit that referenced this pull request Feb 12, 2023
… 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 1d19423)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
carljm added a commit to carljm/cpython that referenced this pull request Feb 13, 2023
* main:
  pythongh-101810: Remove duplicated st_ino calculation (pythonGH-101811)
  pythongh-92547: Purge sqlite3_enable_shared_cache() detection from configure (python#101873)
  pythonGH-100987: Refactor `_PyInterpreterFrame` a bit, to assist generator improvement. (pythonGH-100988)
  pythonGH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (pythonGH-101788)
  Correct trivial grammar in reset_mock docs (python#101861)
  pythongh-101845: pyspecific: Fix i18n for availability directive (pythonGH-101846)
  pythongh-89792: Limit test_tools freeze test build parallelism based on the number of cores (python#101841)
  pythongh-85984: Utilize new "winsize" functions from termios in pty tests. (python#101831)
  pythongh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (python#101837)
  Fix typo in test_fstring.py (python#101823)
  pythonGH-101797: allocate `PyExpat_CAPI` capsule on heap (python#101798)
  pythongh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (pythonGH-101391)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL