You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ho...@apache.org on 2020/05/06 21:57:27 UTC
[spark] branch branch-2.4 updated: [SPARK-31653][BUILD] Setuptools
is needed before installing any other python packages
This is an automated email from the ASF dual-hosted git repository.
holden pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new a00eddc [SPARK-31653][BUILD] Setuptools is needed before installing any other python packages
a00eddc is described below
commit a00eddcffbe83f8c462eea550ea4e33250c26889
Author: Holden Karau <hk...@apple.com>
AuthorDate: Wed May 6 14:56:42 2020 -0700
[SPARK-31653][BUILD] Setuptools is needed before installing any other python packages
### What changes were proposed in this pull request?
Allow the docker build to succeed
### Why are the changes needed?
The base packages depend on having setuptools installed now
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Ran the release script, pip installs succeeded
Closes #28467 from holdenk/SPARK-31653-setuptools-needs-to-be-isntalled-before-anything-else.
Authored-by: Holden Karau <hk...@apple.com>
Signed-off-by: Holden Karau <hk...@apple.com>
---
dev/create-release/spark-rm/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev/create-release/spark-rm/Dockerfile b/dev/create-release/spark-rm/Dockerfile
index 992961f..192f456 100644
--- a/dev/create-release/spark-rm/Dockerfile
+++ b/dev/create-release/spark-rm/Dockerfile
@@ -61,11 +61,13 @@ RUN apt-get clean && apt-get update && $APT_INSTALL gnupg ca-certificates apt-tr
# Install needed python packages. Use pip for installing packages (for consistency).
$APT_INSTALL libpython2.7-dev libpython3-dev python-pip python3-pip && \
pip install --upgrade pip && hash -r pip && \
+ pip install setuptools && \
pip install $BASE_PIP_PKGS && \
pip install $PIP_PKGS && \
cd && \
virtualenv -p python3 /opt/p35 && \
. /opt/p35/bin/activate && \
+ pip install setuptools && \
pip install $BASE_PIP_PKGS && \
pip install $PIP_PKGS && \
# Install R packages and dependencies used when building.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org