Apache DataFusion SQL Query Engine
ARROW-5757: [Python] Remove Python 2.7 support
Antoine Pitrouf9227f6d59a0
diff --git a/.github/workflows/python.yml b/.github/workflows/python.ymlindex 6a363d7191..1b3e066550 100644--- a/.github/workflows/python.yml+++ b/.github/workflows/python.yml@@ -72,7 +72,7 @@ jobs:strategy:fail-fast: falsematrix:- python: [2.7, 3.6, 3.8]+ python: [3.6, 3.8]env:PYTHON: ${{ matrix.python }}PANDAS: latestdiff --git a/ci/docker/conda-python.dockerfile b/ci/docker/conda-python.dockerfileindex 8e9b36cfb3..a7e7697482 100644--- a/ci/docker/conda-python.dockerfile+++ b/ci/docker/conda-python.dockerfile@@ -24,7 +24,6 @@ ARG python=3.6COPY ci/conda_env_python.yml /arrow/ci/RUN conda install -q \--file arrow/ci/conda_env_python.yml \- $([ "$python" == "2.7" ] && echo "futures enum34") \$([ "$python" == "3.6" -o "$python" == "3.7" ] && echo "pickle5") \python=${python} \nomkl && \diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yaml b/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yamldeleted file mode 100644index ba43684c8a..0000000000--- a/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yaml+++ /dev/null@@ -1,52 +0,0 @@-boost_cpp:-- 1.70.0-bzip2:-- '1'-c_compiler:-- gcc-c_compiler_version:-- '7'-channel_sources:-- conda-forge,defaults-channel_targets:-- conda-forge main-cxx_compiler:-- gxx-cxx_compiler_version:-- '7'-docker_image:-- condaforge/linux-anvil-comp7-glog:-- 0.4.0-grpc_cpp:-- '1.25'-libprotobuf:-- '3.11'-lz4_c:-- 1.8.3-pin_run_as_build:- boost-cpp:- max_pin: x.x.x- bzip2:- max_pin: x- grpc-cpp:- max_pin: x.x- lz4-c:- max_pin: x.x.x- python:- min_pin: x.x- max_pin: x.x- snappy:- max_pin: x.x.x- zlib:- max_pin: x.x- zstd:- max_pin: x.x.x-python:-- '2.7'-snappy:-- 1.1.7-zlib:-- '1.2'-zstd:-- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yamldeleted file mode 100644index 887eb1340b..0000000000--- a/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yaml+++ /dev/null@@ -1,56 +0,0 @@-MACOSX_DEPLOYMENT_TARGET:-- '10.9'-boost_cpp:-- 1.70.0-bzip2:-- '1'-c_compiler:-- clang-c_compiler_version:-- '9'-channel_sources:-- conda-forge,defaults-channel_targets:-- conda-forge main-cxx_compiler:-- clangxx-cxx_compiler_version:-- '9'-glog:-- 0.4.0-grpc_cpp:-- '1.25'-libprotobuf:-- '3.11'-lz4_c:-- 1.8.3-macos_machine:-- x86_64-apple-darwin13.4.0-macos_min_version:-- '10.9'-pin_run_as_build:- boost-cpp:- max_pin: x.x.x- bzip2:- max_pin: x- grpc-cpp:- max_pin: x.x- lz4-c:- max_pin: x.x.x- python:- min_pin: x.x- max_pin: x.x- snappy:- max_pin: x.x.x- zlib:- max_pin: x.x- zstd:- max_pin: x.x.x-python:-- '2.7'-snappy:-- 1.1.7-zlib:-- '1.2'-zstd:-- 1.4.4diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex 569b7bbeac..6d60df3f05 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -438,35 +438,6 @@ tasks:############################## Wheel Linux ##################################- wheel-manylinux1-cp27m:- ci: azure- platform: linux- template: python-wheels/azure.linux.yml- params:- python_version: 2.7- unicode_width: 16- wheel_tag: manylinux1- wheel_dir: manylinux1- test_docker_images: []- test_remove_system_libs: true- artifacts:- - pyarrow-{no_rc_version}-cp27-cp27m-manylinux1_x86_64.whl-- wheel-manylinux1-cp27mu:- ci: azure- platform: linux- template: python-wheels/azure.linux.yml- params:- python_version: 2.7- unicode_width: 32- wheel_tag: manylinux1- wheel_dir: manylinux1- test_docker_images:- - python:2.7 # debian ucs4- test_remove_system_libs: false- artifacts:- - pyarrow-{no_rc_version}-cp27-cp27mu-manylinux1_x86_64.whl-wheel-manylinux1-cp35m:ci: azureplatform: linux@@ -527,35 +498,6 @@ tasks:artifacts:- pyarrow-{no_rc_version}-cp38-cp38-manylinux1_x86_64.whl- wheel-manylinux2010-cp27m:- ci: azure- platform: linux- template: python-wheels/azure.linux.yml- params:- python_version: 2.7- unicode_width: 16- wheel_tag: manylinux2010- wheel_dir: manylinux201x- test_docker_images: []- test_remove_system_libs: true- artifacts:- - pyarrow-{no_rc_version}-cp27-cp27m-manylinux2010_x86_64.whl-- wheel-manylinux2010-cp27mu:- ci: azure- platform: linux- template: python-wheels/azure.linux.yml- params:- python_version: 2.7- unicode_width: 32- wheel_tag: manylinux2010- wheel_dir: manylinux201x- test_docker_images:- - python:2.7 # debian ucs4- test_remove_system_libs: false- artifacts:- - pyarrow-{no_rc_version}-cp27-cp27mu-manylinux2010_x86_64.whl-wheel-manylinux2010-cp35m:ci: azureplatform: linux@@ -678,15 +620,6 @@ tasks:############################## Wheel OSX ####################################- wheel-osx-cp27m:- ci: travis- platform: osx- template: python-wheels/travis.osx.yml- params:- python_version: 2.7- artifacts:- - pyarrow-{no_rc_version}-cp27-cp27m-macosx_10_9_intel.whl-wheel-osx-cp35m:ci: travisplatform: osx