Skip to content

Commit

Permalink
Server-side Snowpark: Update package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-oplaton committed Oct 24, 2024
1 parent ef62a8b commit a022dae
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@
MODIN_DEPENDENCY_VERSION = (
"==0.28.1" # Snowpark pandas requires modin 0.28.1, which depends on pandas 2.2.1
)
CONNECTOR_DEPENDENCY_VERSION = ">=3.10.0, <4.0.0"
CONNECTOR_DEPENDENCY_VERSION = ">=3.12.0, <4.0.0"
CONNECTOR_DEPENDENCY = f"snowflake-connector-python{CONNECTOR_DEPENDENCY_VERSION}"
INSTALL_REQ_LIST = [
"setuptools>=40.6.0",
"wheel",
f"snowflake-connector-python{CONNECTOR_DEPENDENCY_VERSION}",
CONNECTOR_DEPENDENCY,
# snowpark directly depends on typing-extension, so we should not remove it even if connector also depends on it.
"typing-extensions>=4.1.0, <5.0.0",
"protobuf>=5.28",
"tzlocal",
"pyyaml",
"cloudpickle>=1.6.0,<=2.2.1,!=2.1.0,!=2.2.0;python_version<'3.11'",
"cloudpickle==2.2.1;python_version~='3.11'", # backend only supports cloudpickle 2.2.1 + python 3.11 at the moment
Expand All @@ -39,6 +42,7 @@
DEVELOPMENT_REQUIREMENTS = [
"pytest<8.0.0", # check SNOW-1022240 for more details on the pin here
"pytest-cov",
"wrapt",
"coverage",
"sphinx==5.0.2",
"cachetools", # used in UDF doctest
Expand All @@ -50,6 +54,15 @@
"graphviz", # used in plot tests
"pytest-assume", # sql counter check
"decorator", # sql counter check
"protoc-wheel-0",
"aiohttp", # vcrpy requirements.
"boto", # vcrpy requirements.
"httplib2", # vcrpy requirements.
"httpx", # vcrpy requirements.
"tornado", # vcrpy requirements.
"graphviz", # used in plot tests
"pytest-assume", # sql counter check
"decorator", # sql counter check
]

# read the version
Expand Down

0 comments on commit a022dae

Please sign in to comment.