@@ -264,20 +264,20 @@ jobs:
264264 with :
265265 distribution : zulu
266266 java-version : ${{ matrix.java }}
267- - name : Install Python 3.9
267+ - name : Install Python 3.11
268268 uses : actions/setup-python@v5
269269 # We should install one Python that is higher than 3+ for SQL and Yarn because:
270270 # - SQL component also has Python related tests, for example, IntegratedUDFTestUtils.
271271 # - Yarn has a Python specific test too, for example, YarnClusterSuite.
272272 if : contains(matrix.modules, 'yarn') || (contains(matrix.modules, 'sql') && !contains(matrix.modules, 'sql-')) || contains(matrix.modules, 'connect')
273273 with :
274- python-version : ' 3.9 '
274+ python-version : ' 3.11 '
275275 architecture : x64
276- - name : Install Python packages (Python 3.9 )
276+ - name : Install Python packages (Python 3.11 )
277277 if : (contains(matrix.modules, 'sql') && !contains(matrix.modules, 'sql-')) || contains(matrix.modules, 'connect')
278278 run : |
279- python3.9 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy unittest-xml-reporting 'lxml==4.9.4' 'grpcio==1.62.0' 'grpcio-status==1.62.0' 'protobuf==4.25.1'
280- python3.9 -m pip list
279+ python3.11 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy unittest-xml-reporting 'lxml==4.9.4' 'grpcio==1.62.0' 'grpcio-status==1.62.0' 'protobuf==4.25.1'
280+ python3.11 -m pip list
281281 # Run the tests.
282282 - name : Run tests
283283 env : ${{ fromJSON(inputs.envs) }}
@@ -608,14 +608,14 @@ jobs:
608608 with :
609609 input : sql/connect/common/src/main
610610 against : ' https://github.com/apache/spark.git#branch=branch-3.5,subdir=connector/connect/common/src/main'
611- - name : Install Python 3.9
611+ - name : Install Python 3.11
612612 uses : actions/setup-python@v5
613613 with :
614- python-version : ' 3.9 '
614+ python-version : ' 3.11 '
615615 - name : Install dependencies for Python CodeGen check
616616 run : |
617- python3.9 -m pip install 'black==23.9.1' 'protobuf==4.25.1' 'mypy==1.8.0' 'mypy-protobuf==3.3.0'
618- python3.9 -m pip list
617+ python3.11 -m pip install 'black==23.9.1' 'protobuf==4.25.1' 'mypy==1.8.0' 'mypy-protobuf==3.3.0'
618+ python3.11 -m pip list
619619 - name : Python CodeGen check
620620 run : ./dev/connect-check-protos.py
621621
@@ -1112,6 +1112,10 @@ jobs:
11121112 with :
11131113 distribution : zulu
11141114 java-version : ${{ inputs.java }}
1115+ - name : Install R
1116+ run : |
1117+ sudo apt update
1118+ sudo apt-get install r-base
11151119 - name : Start Minikube
1116112011171121 with :
0 commit comments