From 996775eca5fd934edac3c2ae34b80ff0395b1717 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Thu, 10 Dec 2020 14:36:15 -0700 Subject: [PATCH] fix(python): skip samples readmegen in synthtool (#875) --- synthtool/languages/python.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synthtool/languages/python.py b/synthtool/languages/python.py index 0e04e104e..9294789db 100644 --- a/synthtool/languages/python.py +++ b/synthtool/languages/python.py @@ -115,6 +115,10 @@ def py_samples(*, root: PathOrStr = None, skip_readmes: bool = False) -> None: # todo(kolea2): temporary exclusion until samples are ready to be migrated to new format excludes.append("README.md") + # TODO(busunkim): Readmegen is disabled as it requires installing the sample + # requirements in Synthtool. Sample Readmegen should be refactored to stop + # relying on the output of `python sample.py --help` + skip_readmes = True if skip_readmes: excludes.append("README.rst") t = templates.TemplateGroup(SAMPLES_TEMPLATE_PATH, excludes=excludes)