-
Notifications
You must be signed in to change notification settings - Fork 635
refactor(ci): move pyarrow
from ci image to test scripts
#21804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Richard Chien <[email protected]>
pyarrow
from ci image to test scriptspyarrow
from ci image to test scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the handling of the pyarrow dependency by moving its installation from the CI image build into the test scripts, ensuring future compatibility. Key changes include:
- Bumping arrow_udf version in the UDF requirements file.
- Adding a new S3 requirements file with pyarrow and related dependencies.
- Updating CI test scripts and the Dockerfile to install dependencies via requirements files instead of inline.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
e2e_test/udf/remote_python/requirements.txt | Updated arrow_udf version to 0.3.1. |
e2e_test/s3/requirements.txt | Added dependencies (pyarrow, minio, psycopg2-binary, opendal, pandas) for S3 tests. |
ci/scripts/slow-e2e-test.sh | Changed dependency installation to use the UDF requirements file. |
ci/scripts/s3-source-test.sh | Changed dependency installation to use the S3 requirements file. |
ci/Dockerfile | Removed pyarrow installation to defer dependency management to test scripts. |
ci/.env | Updated the BUILD_ENV_VERSION to a more recent value. |
Signed-off-by: Richard Chien <[email protected]>
@@ -58,6 +58,10 @@ steps: | |||
- monorepo-diff#v1.2.0: | |||
diff: "git diff --name-only origin/main" | |||
watch: | |||
- path: "ci/.env" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we merge the path?
https://github.com/adikari/monorepo-diff-buildkite-plugin#path
A list of paths can be provided to trigger the desired pipeline. Changes in any of the paths will initiate the pipeline provided in trigger.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do it when there're 3 paths 😄
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Move
pyarrow
package installation from CI image building to test shell script, to avoid future incompatibility.Checklist
Documentation
Release note