Commit b32606d6 authored by Eli Uriegas's avatar Eli Uriegas Committed by Vincent QB
Browse files

ci: Remove 2.7 tests (#413)



Python 2.7 was EOL on January 1, 2020

The last torchaudio release to support Python 2.7 was 0.4.0
Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>
parent b0f180bc
......@@ -246,13 +246,6 @@ workflows:
build:
jobs:
- circleci_consistency
- binary_linux_wheel:
name: binary_linux_wheel_py2.7
python_version: '2.7'
- binary_linux_wheel:
name: binary_linux_wheel_py2.7_unicode
python_version: '2.7'
unicode_abi: '1'
- binary_linux_wheel:
name: binary_linux_wheel_py3.5
python_version: '3.5'
......@@ -262,13 +255,6 @@ workflows:
- binary_linux_wheel:
name: binary_linux_wheel_py3.7
python_version: '3.7'
- binary_macos_wheel:
name: binary_macos_wheel_py2.7
python_version: '2.7'
- binary_macos_wheel:
name: binary_macos_wheel_py2.7_unicode
python_version: '2.7'
unicode_abi: '1'
- binary_macos_wheel:
name: binary_macos_wheel_py3.5
python_version: '3.5'
......@@ -278,9 +264,6 @@ workflows:
- binary_macos_wheel:
name: binary_macos_wheel_py3.7
python_version: '3.7'
- binary_linux_conda:
name: binary_linux_conda_py2.7
python_version: '2.7'
- binary_linux_conda:
name: binary_linux_conda_py3.5
python_version: '3.5'
......@@ -290,9 +273,6 @@ workflows:
- binary_linux_conda:
name: binary_linux_conda_py3.7
python_version: '3.7'
- binary_macos_conda:
name: binary_macos_conda_py2.7
python_version: '2.7'
- binary_macos_conda:
name: binary_macos_conda_py3.5
python_version: '3.5'
......@@ -309,35 +289,6 @@ workflows:
nightly:
jobs:
- circleci_consistency
- binary_linux_wheel:
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py2.7
python_version: '2.7'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py2.7_upload
requires:
- nightly_binary_linux_wheel_py2.7
- binary_linux_wheel:
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py2.7_unicode
python_version: '2.7'
unicode_abi: '1'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py2.7_unicode_upload
requires:
- nightly_binary_linux_wheel_py2.7_unicode
- binary_linux_wheel:
filters:
branches:
......@@ -404,35 +355,6 @@ workflows:
python_version: '3.7'
requires:
- nightly_binary_linux_wheel_py3.7_upload
- binary_macos_wheel:
filters:
branches:
only: nightly
name: nightly_binary_macos_wheel_py2.7
python_version: '2.7'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
name: nightly_binary_macos_wheel_py2.7_upload
requires:
- nightly_binary_macos_wheel_py2.7
- binary_macos_wheel:
filters:
branches:
only: nightly
name: nightly_binary_macos_wheel_py2.7_unicode
python_version: '2.7'
unicode_abi: '1'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
name: nightly_binary_macos_wheel_py2.7_unicode_upload
requires:
- nightly_binary_macos_wheel_py2.7_unicode
- binary_macos_wheel:
filters:
branches:
......@@ -475,20 +397,6 @@ workflows:
name: nightly_binary_macos_wheel_py3.7_upload
requires:
- nightly_binary_macos_wheel_py3.7
- binary_linux_conda:
filters:
branches:
only: nightly
name: nightly_binary_linux_conda_py2.7
python_version: '2.7'
- binary_conda_upload:
context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_conda_py2.7_upload
requires:
- nightly_binary_linux_conda_py2.7
- binary_linux_conda:
filters:
branches:
......@@ -555,20 +463,6 @@ workflows:
python_version: '3.7'
requires:
- nightly_binary_linux_conda_py3.7_upload
- binary_macos_conda:
filters:
branches:
only: nightly
name: nightly_binary_macos_conda_py2.7
python_version: '2.7'
- binary_conda_upload:
context: org-member
filters:
branches:
only: nightly
name: nightly_binary_macos_conda_py2.7_upload
requires:
- nightly_binary_macos_conda_py2.7
- binary_macos_conda:
filters:
branches:
......
......@@ -23,7 +23,7 @@ def workflows(prefix='', upload=False, filter_branch=None, indentation=6):
w = []
for btype in ["wheel", "conda"]:
for os_type in ["linux", "macos"]:
for python_version in ["2.7", "3.5", "3.6", "3.7"]:
for python_version in ["3.5", "3.6", "3.7"]:
for unicode in ([False, True] if btype == "wheel" and python_version == "2.7" else [False]):
w += workflow_pair(btype, os_type, python_version, unicode, filter_branch, prefix, upload)
......
......@@ -8,12 +8,11 @@ cache:
directories:
- /home/travis/download
# This matrix tests that the code works on Python 2.7, 3.5, 3.6, 3.7, passes
# This matrix tests that the code works on Python 3.5, 3.6, 3.7, passes
# lint and example tests.
matrix:
fast_finish: true
include:
- env: PYTHON_VERSION="2.7"
- env: PYTHON_VERSION="3.5"
- env: PYTHON_VERSION="3.6"
- env: PYTHON_VERSION="3.7"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment