Skip to content

Apache DataFusion SQL Query Engine

ARROW-5679: [Python][CI] Remove Python 3.5 support

Antoine Pitrou8113c88c7663
diff --git a/.github/workflows/archery.yml b/.github/workflows/archery.yml
index b230bce82e..7dd75b5bfe 100644
--- a/.github/workflows/archery.yml
+++ b/.github/workflows/archery.yml
@@ -51,7 +51,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
- python-version: '3.5'
+ python-version: '3.6'
- name: Install Archery, Crossbow- and Test Dependencies
working-directory: dev/archery
run: pip install pytest responses toolz jinja2 -e .[all]
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 6b84ed2cdb..02829ebb39 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -47,18 +47,11 @@ jobs:
fail-fast: false
matrix:
name:
- - ubuntu-16.04-python-3
- conda-python-3.8-nopandas
- conda-python-3.6-pandas-0.23
- conda-python-3.7-pandas-latest
- centos-python-3.6-manylinux1
include:
- - name: ubuntu-16.04-python-3
- cache: ubuntu-16.04-python-3
- image: ubuntu-python
- # this image always builds with python 3.5
- title: AMD64 Ubuntu 16.04 Python 3.5
- ubuntu: 16.04
- name: conda-python-3.8-nopandas
cache: conda-python-3.8
image: conda-python
diff --git a/dev/archery/setup.py b/dev/archery/setup.py
index 8823ace45c..27d7d4db43 100755
--- a/dev/archery/setup.py
+++ b/dev/archery/setup.py
@@ -21,8 +21,8 @@ import operator
import sys
from setuptools import setup
-if sys.version_info < (3, 5):
- sys.exit('Python < 3.5 is not supported')
+if sys.version_info < (3, 6):
+ sys.exit('Python < 3.6 is not supported')
extras = {
'benchmark': ['pandas'],
diff --git a/dev/release/verify-release-candidate-wheels.bat b/dev/release/verify-release-candidate-wheels.bat
index daf8487605..2b57113a1b 100644
--- a/dev/release/verify-release-candidate-wheels.bat
+++ b/dev/release/verify-release-candidate-wheels.bat
@@ -49,9 +49,6 @@ call deactivate
set ARROW_TEST_DATA=%cd%\arrow\testing\data
-CALL :verify_wheel 3.5 %1 %2 m
-if errorlevel 1 GOTO error
-
CALL :verify_wheel 3.6 %1 %2 m
if errorlevel 1 GOTO error
@@ -100,11 +97,6 @@ py.test %CONDA_ENV_PATH%\Lib\site-packages\pyarrow --pdb -v || EXIT /B 1
python -c "import pyarrow" || EXIT /B 1
python -c "import pyarrow.parquet" || EXIT /B 1
-
-if "%PY_VERSION%"=="3.5" GOTO done
-
-:python36_and_higher_checks
-
python -c "import pyarrow.flight" || EXIT /B 1
python -c "import pyarrow.dataset" || EXIT /B 1
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index c5a6948bb1..b955948325 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -296,20 +296,6 @@ tasks:
############################## Wheel Linux ##################################
- wheel-manylinux1-cp35m:
- ci: azure
- template: python-wheels/azure.linux.yml
- params:
- python_version: 3.5
- unicode_width: 16
- wheel_tag: manylinux1
- wheel_dir: manylinux1
- test_docker_images:
- - python:3.5
- test_remove_system_libs: true
- artifacts:
- - pyarrow-{no_rc_version}-cp35-cp35m-manylinux1_x86_64.whl
-
wheel-manylinux1-cp36m:
ci: azure
template: python-wheels/azure.linux.yml
@@ -352,20 +338,6 @@ tasks:
artifacts:
- pyarrow-{no_rc_version}-cp38-cp38-manylinux1_x86_64.whl
- wheel-manylinux2010-cp35m:
- ci: azure
- template: python-wheels/azure.linux.yml
- params:
- python_version: 3.5
- unicode_width: 16
- wheel_tag: manylinux2010
- wheel_dir: manylinux201x
- test_docker_images:
- - python:3.5
- test_remove_system_libs: true
- artifacts:
- - pyarrow-{no_rc_version}-cp35-cp35m-manylinux2010_x86_64.whl
-
wheel-manylinux2010-cp36m:
ci: azure
template: python-wheels/azure.linux.yml
@@ -408,20 +380,6 @@ tasks:
artifacts:
- pyarrow-{no_rc_version}-cp38-cp38-manylinux2010_x86_64.whl
- wheel-manylinux2014-cp35m:
- ci: azure
- template: python-wheels/azure.linux.yml
- params:
- python_version: 3.5
- unicode_width: 16
- wheel_tag: manylinux2014
- wheel_dir: manylinux201x
- test_docker_images:
- - python:3.5
- test_remove_system_libs: true
- artifacts:
- - pyarrow-{no_rc_version}-cp35-cp35m-manylinux2014_x86_64.whl
-
wheel-manylinux2014-cp36m:
ci: azure
template: python-wheels/azure.linux.yml
@@ -466,16 +424,6 @@ tasks:
############################## Wheel OSX ####################################
- wheel-osx-mavericks-cp35m:
- ci: travis
- template: python-wheels/travis.osx.yml
- params:
- python_version: 3.5
- macos_deployment_target: 10.9
- arrow_s3: "OFF"
- artifacts:
- - pyarrow-{no_rc_version}-cp35-cp35m-macosx_10_9_intel.whl
-
wheel-osx-mavericks-cp36m:
ci: travis
template: python-wheels/travis.osx.yml
@@ -508,16 +456,6 @@ tasks:
# enable S3 support from macOS 10.13 so we don't need to bundle curl, crypt and ssl
- wheel-osx-high-sierra-cp35m:
- ci: travis
- template: python-wheels/travis.osx.yml
- params:
- python_version: 3.5
- macos_deployment_target: 10.13
- arrow_s3: "ON"
- artifacts:
- - pyarrow-{no_rc_version}-cp35-cp35m-macosx_10_13_intel.whl
-
wheel-osx-high-sierra-cp36m:
ci: travis
template: python-wheels/travis.osx.yml