[SPARK-45953][INFRA] Add Python 3.10 to Infra docker image#43840
Closed
dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
Closed
[SPARK-45953][INFRA] Add Python 3.10 to Infra docker image#43840dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
Python 3.10 to Infra docker image#43840dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
Conversation
Python 3.10 to Infra docker image
Member
Author
|
Thank you. Yes this is a draft. When I install python3.10 via package manager, it seems to break the existing python3.9 like the following. |
91b9ba3 to
49c2e26
Compare
370818b to
964ccb2
Compare
Member
Author
Member
Author
|
Could you review this when you have some time, @viirya . |
viirya
approved these changes
Nov 16, 2023
Member
Author
|
Thank you! Merged to master. |
HyukjinKwon
pushed a commit
that referenced
this pull request
Nov 16, 2023
…n job ### What changes were proposed in this pull request? This PR aims to enable `Python 3.10` testing in the following daily `Python-only` Github Action job. https://github.com/apache/spark/actions/workflows/build_python.yml ### Why are the changes needed? To provide `Python 3.10` test coverage to Apache Spark 4.0.0. Since SPARK-45953 installed `Python 3.10` into the infra image, what we need is to add it to the daily job. - #43840 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? We need to validate this in the daily GitHub Action job. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #43847 from dongjoon-hyun/SPARK-45960. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
dongjoon-hyun
added a commit
that referenced
this pull request
Nov 17, 2023
### What changes were proposed in this pull request? This PR aims to add `Python 3.11` to Infra docker images. ### Why are the changes needed? This is a preparation to add a daily `Python 3.11` GitHub Action job later for Apache Spark 4.0.0. FYI, Apache Spark 4.0.0 has Python 3.10 test coverage via the following and I verified the successful test result at Today's Daily run. - #43840 - #43847 - https://github.com/apache/spark/actions/workflows/build_python.yml ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? From the GitHub Action log, I found the built image and verified Python 3.11.6 installation and packages. ``` $ docker run -it --rm ghcr.io/dongjoon-hyun/apache-spark-ci-image:master-6907685219 python3.11 --version Python 3.11.6 $ docker run -it --rm ghcr.io/dongjoon-hyun/apache-spark-ci-image:master-6907685219 python3.11 -m pip freeze alembic==1.12.1 annotated-types==0.6.0 blinker==1.7.0 certifi==2019.11.28 chardet==3.0.4 charset-normalizer==3.3.2 click==8.1.7 cloudpickle==2.2.1 contourpy==1.2.0 coverage==7.3.2 cycler==0.12.1 databricks-cli==0.18.0 dbus-python==1.2.16 deepspeed==0.12.3 distro-info==0.23+ubuntu1.1 docker==6.1.3 entrypoints==0.4 et-xmlfile==1.1.0 filelock==3.9.0 Flask==3.0.0 fonttools==4.44.3 gitdb==4.0.11 GitPython==3.1.40 googleapis-common-protos==1.56.4 greenlet==3.0.1 grpcio==1.56.2 grpcio-status==1.48.2 gunicorn==21.2.0 hjson==3.1.0 idna==2.8 importlib-metadata==6.8.0 itsdangerous==2.1.2 Jinja2==3.1.2 joblib==1.3.2 kiwisolver==1.4.5 lxml==4.9.3 Mako==1.3.0 Markdown==3.5.1 MarkupSafe==2.1.3 matplotlib==3.8.1 memory-profiler==0.60.0 mlflow==2.8.1 mpmath==1.3.0 networkx==3.0 ninja==1.11.1.1 numpy==1.26.2 oauthlib==3.2.2 openpyxl==3.1.2 packaging==23.2 pandas==2.1.3 Pillow==10.1.0 plotly==5.18.0 protobuf==3.20.3 psutil==5.9.6 py-cpuinfo==9.0.0 pyarrow==14.0.1 pydantic==2.5.1 pydantic_core==2.14.3 PyGObject==3.36.0 PyJWT==2.8.0 pynvml==11.5.0 pyparsing==3.1.1 python-apt==2.0.1+ubuntu0.20.4.1 python-dateutil==2.8.2 pytz==2023.3.post1 PyYAML==6.0.1 querystring-parser==1.2.4 requests==2.31.0 requests-unixsocket==0.2.0 scikit-learn==1.1.3 scipy==1.11.3 six==1.14.0 smmap==5.0.1 SQLAlchemy==2.0.23 sqlparse==0.4.4 sympy==1.12 tabulate==0.9.0 tenacity==8.2.3 threadpoolctl==3.2.0 torch==2.0.1+cpu torcheval==0.0.7 torchvision==0.15.2+cpu tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 unattended-upgrades==0.1 unittest-xml-reporting==3.2.0 urllib3==2.1.0 websocket-client==1.6.4 Werkzeug==3.0.1 zipp==3.17.0 ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes #43877 from dongjoon-hyun/SPARK-45979. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changes were proposed in this pull request?
This PR aims to add
Python 3.10to Infra docker images.Why are the changes needed?
This is a preparation to add a daily
Python 3.10GitHub Action job later for Apache Spark 4.0.0.Note that Python 3.10 is installed at the last step to avoid the following issues which happens when we install Python 3.9 and 3.10 at the same stage by package manager.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Base Image Buildstep for new Python 3.10.Was this patch authored or co-authored using generative AI tooling?
No.