thisisnic commented on issue #44986: URL: https://github.com/apache/arrow/issues/44986#issuecomment-7151798882
I used an AI agent to look into the cause, and I've reviewed the results. ---------------- 🤖 : pandas looks to be missing from the image because of the order of steps in `ci/docker/conda-python-spark.dockerfile`: it installs `pandas`, then runs `mamba uninstall -q -y numpy` before `install_numpy.sh`. pandas depends on numpy, so the uninstall most likely removes it too. In the 2026-11-24 nightly (`test-conda-python-3.11-spark-master`): - [the build command](https://github.com/ursacomputing/crossbow/actions/runs/45298197356/job/138123834781#step:7:412) installs pandas and then uninstalls numpy - [pandas 3.1.1 is in the list of packages installed](https://github.com/ursacomputing/crossbow/actions/runs/45298197356/job/138123834781#step:7:447) - [the environment listing afterwards](https://github.com/ursacomputing/crossbow/actions/runs/45298197356/job/138123834781#step:7:839) goes from `packaging` to `patch` with no `pandas` The uninstall runs with `-q`, so the log doesn't show pandas being removed; that part is inferred from it being installed and then absent. Installing pandas after `install_numpy.sh` should let the two excluded modules be re-enabled. I haven't been able to test that, because the nightly currently [fails earlier](https://github.com/ursacomputing/crossbow/actions/runs/45298197356/job/138123834781#step:7:4175): Spark master now requires JDK 21 and the image has 17. -- 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]
