gaogaotiantian commented on code in PR #54175:
URL: https://github.com/apache/spark/pull/54175#discussion_r2776488439
##########
dev/spark-test-image/python-314/Dockerfile:
##########
@@ -54,14 +54,17 @@ RUN apt-get update && apt-get install -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
+# Setup virtual environment
+ENV VIRTUAL_ENV=/opt/spark-venv
+RUN python3.14 -m venv --without-pip $VIRTUAL_ENV
+ENV PATH="$VIRTUAL_ENV/bin:$PATH"
Review Comment:
This is a bit weird, why don't we activate virtual env normally? I think it
does more than changing PATH. Why do we need the venv in the first place?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]