[SPARK-XXXXX][INFRA] Pin meson<1.11.0 for PyPy pandas source build in CI Dockerfiles#55368
Closed
zhengruifeng wants to merge 5 commits intoapache:masterfrom
Closed
[SPARK-XXXXX][INFRA] Pin meson<1.11.0 for PyPy pandas source build in CI Dockerfiles#55368zhengruifeng wants to merge 5 commits intoapache:masterfrom
zhengruifeng wants to merge 5 commits intoapache:masterfrom
Conversation
… CI Dockerfiles Co-authored-by: Isaac
…ctly Co-authored-by: Isaac
Member
|
Thank you for fixing this, @zhengruifeng |
sarutak
reviewed
Apr 16, 2026
| ln -sf /usr/local/pypy/pypy3.10/bin/pypy /usr/local/bin/pypy3 | ||
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | pypy3 | ||
| RUN pypy3 -m pip install numpy 'six==1.16.0' 'pandas==2.3.3' scipy coverage matplotlib lxml | ||
| RUN pypy3 -m pip install 'meson<1.11.0' 'meson-python<0.16.0' numpy 'six==1.16.0' 'pandas==2.3.3' scipy coverage matplotlib lxml |
Member
There was a problem hiding this comment.
Does this work? I confirmed pypy3 -m pip install 'meson<1.11.0' numpy 'six==1.16.0' 'pandas==2.3.3' scipy coverage matplotlib lxml which is similar to your change doesn't work.
Contributor
Author
There was a problem hiding this comment.
I cannot build image locally for now, still testing the fix.
Feel free to send a new fix to restore CI if it works :)
…verification Co-authored-by: Isaac
Co-authored-by: Isaac
The R fs package's bundled libuv v1.52.0 now requires cmake to build. Co-authored-by: Isaac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Pin
meson<1.11.0andmeson-python<0.16.0alongside pandas in the PyPy 3.10 pip install in CI Dockerfiles (dev/infra/Dockerfileanddev/spark-test-image/pypy-310/Dockerfile).Why are the changes needed?
pandas==2.3.3has no pre-built wheel for PyPy 3.10, so pip builds it from source. The build pulls inmeson==1.11.0(newly released), which introduced a breaking change —python.extension_module()no longer accepts strings in thedependencieskeyword. Pandas 2.3.3'smeson.buildstill passes strings, causing:This was previously hidden because the Docker layer was cached from a prior build with an older meson version. The cache was invalidated by the R devtools→remotes change in SPARK-56500, exposing the issue.
Failure: https://github.com/apache/spark/actions/runs/24489111484/job/71571576157
Does this PR introduce any user-facing change?
No.
How was this patch tested?
CI should validate that the Docker image builds successfully with the meson constraint.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.6)