This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.4 by this push:
new a20bcec83b32 [SPARK-49402][PYTHON][FOLLOW-UP] Set upperfound for NumPy
a20bcec83b32 is described below
commit a20bcec83b320193784ff05fc773500ed7bed0d0
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Tue Aug 27 18:59:53 2024 +0900
[SPARK-49402][PYTHON][FOLLOW-UP] Set upperfound for NumPy
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit 9fc1e05)
Signed-off-by: Hyukjin Kwon <[email protected]>
---
binder/postBuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/binder/postBuild b/binder/postBuild
index 9cf90a1038a6..cac3591a980a 100755
--- a/binder/postBuild
+++ b/binder/postBuild
@@ -33,9 +33,9 @@ else
fi
if [[ ! $VERSION < "3.4.0" ]]; then
- pip install plotly "pandas<2.0.0"
"pyspark[sql,ml,mllib,pandas_on_spark,connect]$SPECIFIER$VERSION"
+ pip install plotly "pandas<2.0.0" "numpy>=1.15,<2"
"pyspark[sql,ml,mllib,pandas_on_spark,connect]$SPECIFIER$VERSION"
else
- pip install plotly "pandas<2.0.0"
"pyspark[sql,ml,mllib,pandas_on_spark]$SPECIFIER$VERSION"
+ pip install plotly "pandas<2.0.0" "numpy>=1.15,<2"
"pyspark[sql,ml,mllib,pandas_on_spark]$SPECIFIER$VERSION"
fi
# Set 'PYARROW_IGNORE_TIMEZONE' to surpress warnings from PyArrow.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]