HyukjinKwon opened a new pull request, #57033: URL: https://github.com/apache/spark/pull/57033
### What changes were proposed in this pull request? Add `libxslt1-dev` to the apt-get packages in `dev/spark-test-image/pypy-310/Dockerfile` and drop the `lxml==4.9.4` pin (install plain `lxml` again, consistent with the CPython test images). ### Why are the changes needed? PyPI does not publish a PyPy wheel for the current lxml, so `pypy3 -m pip install ... lxml` builds lxml from the sdist. The source build needs both the libxml2 and libxslt development headers; the image installs `libxml2-dev` but not `libxslt1-dev`, so an unpinned build fails with `Error: Please make sure the libxml2 and libxslt development packages are installed.` That fails the PyPy 3.10 base image build (`build_python_pypy3.10`) and every downstream `pyspark-*` job. Installing `libxslt1-dev` fixes the root cause and lets lxml build from source for any version, so the `lxml==4.9.4` pin can be dropped and pypy stays consistent with the CPython images. Alternative to #57031 / SPARK-57953 (which pins lxml). ### Does this PR introduce _any_ user-facing change? No, test-image only. ### How was this patch tested? CI (the PyPy 3.10 base image build). ### Was this patch authored or co-authored using generative AI tooling? Yes. This pull request and its description were written by Isaac. -- 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]
