You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2026/07/06 20:18:52 UTC
[PR] [SPARK-57974][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst` [spark]
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-57974][PYTHON][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst` [spark]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #57051:
URL: https://github.com/apache/spark/pull/57051#issuecomment-4897356607
Thank you so much, @gaogaotiantian !
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-57974][PYTHON][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst` [spark]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #57051:
URL: https://github.com/apache/spark/pull/57051#issuecomment-4897270975
cc @huaxingao since Apache Spark 4.2.0 doesn't support Pandas 3.0.0 yet.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-57974][PYTHON][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst` [spark]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #57051:
URL: https://github.com/apache/spark/pull/57051#issuecomment-4897741356
I also backported to
- branch-4.1 41dfd701c8a
- branch-4.0 8b8a0ffc6da
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-57974][PYTHON][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst` [spark]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #57051:
URL: https://github.com/apache/spark/pull/57051#issuecomment-4897716870
**Merge Summary:**
- merged into master https://github.com/apache/spark/commit/3e88122235c95d671edd3019025e6929c7c3ca81
- merged into branch-4.x https://github.com/apache/spark/commit/c0db37e7996f0aa2c18823b5ce42964ff88e06a7
- merged into branch-4.2 https://github.com/apache/spark/commit/904bfeacf58fbccef87117b98a407d505909e0cb
*Posted by `merge_spark_pr.py`*
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-57974][PYTHON][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst` [spark]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #57051: [SPARK-57974][PYTHON][DOCS] Add pandas upper bound `<3.0.0` in `dev/requirements.txt` and `install.rst`
URL: https://github.com/apache/spark/pull/57051
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org