dongjoon-hyun opened a new pull request, #57051: URL: https://github.com/apache/spark/pull/57051
### What changes were proposed in this pull request? This PR aims to add an upper bound `<3.0.0` to the `pandas` requirement in `dev/requirements.txt` and the installation guide (`python/docs/source/getting_started/install.rst`) because Apache Spark 4.2.0 doesn't support it. Apache Spark 4.3.0 will support `Pandas 3` via SPARK-55139 officially. ### Why are the changes needed? PySpark does not yet fully support pandas 3.x and warns at runtime when pandas >= 3.0.0 is detected: https://github.com/apache/spark/blob/aaf99abe95a478db5b2c286d5e6c5ba957fdb60c/python/pyspark/sql/pandas/utils.py#L59-L68 ``` FutureWarning: PySpark does not yet fully support pandas >= 3.0.0. Some features may not work correctly. It is recommended to use pandas < 3.0.0 for now. ``` The development requirements and the installation documentation should be consistent with this recommendation. ### Does this PR introduce _any_ user-facing change? No. This only affects the development requirements file and documentation. ### How was this patch tested? Manual review. This is a requirements/documentation-only change. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Fable 5 -- 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]
