sarutak opened a new pull request, #55788:
URL: https://github.com/apache/spark/pull/55788

   ### What changes were proposed in this pull request?
   This PR fixes a URL of `get-pip.py` in `dev/infra/Dockerfile` for Python 3.9.
   
   ### Why are the changes needed?
   Currently `docker build dev/infra` fails with following error.
   ```
    => ERROR [15/32] RUN curl -sS https://bootstrap.pypa.io/get-pip.py | 
python3.9                                      0.6s
   ------
    > [15/32] RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9:
   0.588 ERROR: This script does not work on Python 3.9. The minimum supported 
Python version is 3.10. Please use https://bootstrap.pypa.io/pip/3.9/get-pip.py 
instead.
   ------
   Dockerfile:111
   --------------------
    109 |         python3.9 python3.9-distutils \
    110 |         && rm -rf /var/lib/apt/lists/*
    111 | >>> RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9
    112 |     RUN python3.9 -m pip install --ignore-installed 'blinker>=1.6.2' 
# mlflow needs this
    113 |     RUN python3.9 -m pip install --force $BASIC_PIP_PKGS 
unittest-xml-reporting $CONNECT_PIP_PKGS && \
   --------------------
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Confirmed `docker build dev/infra` works.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   


-- 
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]

Reply via email to