We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3580fd1 commit 8f81df6Copy full SHA for 8f81df6
utils/generate_snowball.py
100644
100755
@@ -5,7 +5,7 @@
5
# /// script
6
# requires-python = ">=3.11"
7
# dependencies = [
8
-# "urllib3>=2",
+# "requests>=2.30",
9
# ]
10
# ///
11
@@ -88,7 +88,7 @@ def parse_stop_word(source: str) -> frozenset[str]:
88
89
90
def regenerate_javascript() -> None:
91
- tmp_root = Path(tempfile.mkdtemp())
+ tmp_root = Path('tmp')
92
93
# Download and extract the snowball release
94
snowball_archive = BytesIO(requests.get(SNOWBALL_URL, timeout=60).content)
@@ -111,7 +111,7 @@ def regenerate_javascript() -> None:
111
shutil.copytree(js_dir, NON_MINIFIED_JS_DIR, dirs_exist_ok=True)
112
113
# Clean up
114
- shutil.rmtree(snowball_root)
+ # shutil.rmtree(snowball_root)
115
116
117
if __name__ == '__main__':
0 commit comments