gaogaotiantian opened a new pull request, #56950:
URL: https://github.com/apache/spark/pull/56950

   ### What changes were proposed in this pull request?
   This PR pins `lxml==4.9.4` in the PyPy `pip install` commands in 
`dev/infra/Dockerfile` and `dev/spark-test-image/pypy-310/Dockerfile` on 
branch-4.1.
   
   ### Why are the changes needed?
   The branch-4.1 base image build fails because pip pulls the newest `lxml`, 
which builds from source and requires the libxml2/libxslt development headers 
that are not available in the PyPy build stage:
   ```
   Error: Please make sure the libxml2 and libxslt development packages are 
installed.
   ERROR: Failed to build 'lxml' when getting requirements to build wheel
   ERROR: process "/bin/sh -c pypy3 -m pip install numpy 'six==1.16.0' 
'pandas==2.3.3' scipy coverage matplotlib lxml" did not complete successfully: 
exit code: 1
   ```
   See https://github.com/apache/spark/actions/runs/28551790149/job/84650425805
   
   This is the same failure fixed on master by 
[SPARK-56513](https://github.com/apache/spark/pull/55369), which pinned both 
`meson<1.11.0` and `lxml==4.9.4`. `meson` has since been fixed upstream, so 
only the `lxml` pin is needed here. `4.9.4` is consistent with the version 
specified in `.github/workflows/build_and_test.yml`.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   CI.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   Generated-by: Claude Code (Opus 4.8)


-- 
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]

Reply via email to