-
Notifications
You must be signed in to change notification settings - Fork 3k
Pin pandas
to version 1.5.3 to all spark images
#1925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin pandas
to version 1.5.3 to all spark images
#1925
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@mathbunnyru do you understand this? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few suggestions, please, take a look.
Co-authored-by: Ayaz Salikhov <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Ayaz Salikhov <[email protected]>
for more information, see https://pre-commit.ci
I think that we will see Apache Spark 4.0.0 in jan. or feb. 2024 and then we can remove this. |
Great, thanks. |
The error is for cache? |
No, we need to add a new exception here: https://github.com/jupyter/docker-stacks/blob/main/tests/base-notebook/test_packages.py#L67 |
hmm.. ok, so it just to add pandas to that list? |
for more information, see https://pre-commit.ci
@bjornjorgensen thank you! |
* 1. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add note * typo * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove test * >=1.5.3 and <2.0.0 * update test * Update pyspark-notebook/Dockerfile Co-authored-by: Ayaz Salikhov <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update pyspark-notebook/Dockerfile Co-authored-by: Ayaz Salikhov <[email protected]> * move test to file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add pandas to EXCLUDED_PACKAGES * add 1.5.3,<2.0.0 and sort list * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add ' * "pandas[version='>" * Rename test_pandas_version.py to unit_pandas_version.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ayaz Salikhov <[email protected]>
Describe your changes
This will install
pandas
version 1.5.3 for all spark images.Spark have a module called
pandas API on spark
, this module usespandas
for many tasks.Apache spark have decided not to upgrade
pandas API on spark
to version 2.0 before Apache spark 4.0https://lists.apache.org/thread/jbxrpf81flr6rk1poj9mqjyl8p34ro6w
Issue ticket if applicable
Fix: #1924
Checklist (especially for first-time contributors)