Skip to content

Commit 04bf10c

Browse files
committed
chore: Resurrect torch install hack; cleanup type generation
1 parent b91c020 commit 04bf10c

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ dev = [
5555
"tiktoken",
5656
"databricks-sdk",
5757
"snowflake-ml-python>=1.8.4",
58+
# torch (a dependency of snowflake-ml-python) is not yet compatible with Python >3.11
59+
"torch;python_version<='3.11'",
5860
"htmltools",
5961
"tenacity"
6062
]

scripts/_generate_snowflake_types.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

scripts/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"_generate_anthropic_types.py",
66
"_generate_google_types.py",
77
"_generate_openai_types.py",
8-
"_generate_snowflake_types.py",
98
]
109

1110
absolute_scripts = [Path(__file__).parent / script for script in scripts]

0 commit comments

Comments
 (0)