Copilot commented on code in PR #12529:
URL: https://github.com/apache/gluten/pull/12529#discussion_r3683609484
##########
.github/workflows/velox_nightly.yml:
##########
@@ -180,6 +181,103 @@ jobs:
path: package/target/gluten-velox-bundle-*.jar
retention-days: 7
+ spark-test-spark35-smj:
+ if: ${{ startsWith(github.repository, 'apache/') }}
+ needs: build-native-lib-x86
+ runs-on: ubuntu-22.04
+ env:
+ SPARK_TESTING: true
+ container: apache/gluten:centos-8-jdk8
+ steps:
+ - uses: actions/checkout@v4
+ - name: Download All Artifacts
+ uses: actions/download-artifact@v4
+ with:
+ name: velox-native-lib-${{github.sha}}
+ path: ./cpp/build/
+ - name: Prepare
+ run: |
+ dnf module -y install python39 && \
+ alternatives --set python3 /usr/bin/python3.9 && \
+ pip3 install setuptools==77.0.3 && \
+ pip3 install pyspark==3.5.5 cython && \
+ pip3 install pandas==2.2.3 pyarrow==20.0.0
Review Comment:
After switching `python3` via `alternatives`, using `pip3` can still point
at the old interpreter’s pip on some CentOS images, which can install packages
into the wrong site-packages and cause runtime import failures (e.g.,
`pyspark`/`pyarrow` not found). Prefer invoking pip via the selected
interpreter (e.g., `python3 -m pip ...`) to guarantee the installs target
Python 3.9.
--
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]