Skip to content

Commit

Permalink
ARROW-5679: [Python][CI] Remove Python 3.5 support
Browse files Browse the repository at this point in the history
Closes #8776 from pitrou/ARROW-5679-drop-py-35

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Uwe L. Korn <uwe.korn@quantco.com>
  • Loading branch information
pitrou authored and xhochy committed Dec 2, 2020
1 parent 9574abe commit 8113c88
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/archery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dev/archery/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
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'],
Expand Down
8 changes: 0 additions & 8 deletions dev/release/verify-release-candidate-wheels.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
62 changes: 0 additions & 62 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8113c88

Please sign in to comment.