Skip to content

Commit 28d30b6

Browse files
SNOW-2444540: Cap scipy<=1.16.0 in tests temporarily. (#3937)
Snowflake can't find scipy>1.16.0 for UDFs with python >=3.11. This change fixes some doctests according to this check: ```bash PYTHON_VERSION=3.11 python -m tox -r -e "py${PYTHON_VERSION}-doctest-snowparkpandasdoctest-modin-ci" -- -k "apply or map or transform" ``` Signed-off-by: sfc-gh-mvashishtha <[email protected]>
1 parent 103e55d commit 28d30b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@
6868
"lxml", # used in XML reader unit tests
6969
]
7070
MODIN_DEVELOPMENT_REQUIREMENTS = [
71-
"scipy", # Snowpark pandas 3rd party library testing
71+
# Snowpark pandas 3rd party library testing. Cap the scipy version because
72+
# Snowflake cannot find newer versions of scipy for python 3.11+. See
73+
# SNOW-2452791.
74+
"scipy<=1.16.0",
7275
"statsmodels", # Snowpark pandas 3rd party library testing
7376
"scikit-learn", # Snowpark pandas 3rd party library testing
7477
# plotly version restricted due to foreseen change in query counts in version 6.0.0+

0 commit comments

Comments
 (0)