"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "e13ee8b5b3a3096e1eea23b3ba293d0cdd05de02"
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: ...@@ -246,13 +246,6 @@ workflows:
build: build:
jobs: jobs:
- circleci_consistency - 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: - binary_linux_wheel:
name: binary_linux_wheel_py3.5 name: binary_linux_wheel_py3.5
python_version: '3.5' python_version: '3.5'
...@@ -262,13 +255,6 @@ workflows: ...@@ -262,13 +255,6 @@ workflows:
- binary_linux_wheel: - binary_linux_wheel:
name: binary_linux_wheel_py3.7 name: binary_linux_wheel_py3.7
python_version: '3.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: - binary_macos_wheel:
name: binary_macos_wheel_py3.5 name: binary_macos_wheel_py3.5
python_version: '3.5' python_version: '3.5'
...@@ -278,9 +264,6 @@ workflows: ...@@ -278,9 +264,6 @@ workflows:
- binary_macos_wheel: - binary_macos_wheel:
name: binary_macos_wheel_py3.7 name: binary_macos_wheel_py3.7
python_version: '3.7' python_version: '3.7'
- binary_linux_conda:
name: binary_linux_conda_py2.7
python_version: '2.7'
- binary_linux_conda: - binary_linux_conda:
name: binary_linux_conda_py3.5 name: binary_linux_conda_py3.5
python_version: '3.5' python_version: '3.5'
...@@ -290,9 +273,6 @@ workflows: ...@@ -290,9 +273,6 @@ workflows:
- binary_linux_conda: - binary_linux_conda:
name: binary_linux_conda_py3.7 name: binary_linux_conda_py3.7
python_version: '3.7' python_version: '3.7'
- binary_macos_conda:
name: binary_macos_conda_py2.7
python_version: '2.7'
- binary_macos_conda: - binary_macos_conda:
name: binary_macos_conda_py3.5 name: binary_macos_conda_py3.5
python_version: '3.5' python_version: '3.5'
...@@ -309,35 +289,6 @@ workflows: ...@@ -309,35 +289,6 @@ workflows:
nightly: nightly:
jobs: jobs:
- circleci_consistency - 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: - binary_linux_wheel:
filters: filters:
branches: branches:
...@@ -404,35 +355,6 @@ workflows: ...@@ -404,35 +355,6 @@ workflows:
python_version: '3.7' python_version: '3.7'
requires: requires:
- nightly_binary_linux_wheel_py3.7_upload - 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: - binary_macos_wheel:
filters: filters:
branches: branches:
...@@ -475,20 +397,6 @@ workflows: ...@@ -475,20 +397,6 @@ workflows:
name: nightly_binary_macos_wheel_py3.7_upload name: nightly_binary_macos_wheel_py3.7_upload
requires: requires:
- nightly_binary_macos_wheel_py3.7 - 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: - binary_linux_conda:
filters: filters:
branches: branches:
...@@ -555,20 +463,6 @@ workflows: ...@@ -555,20 +463,6 @@ workflows:
python_version: '3.7' python_version: '3.7'
requires: requires:
- nightly_binary_linux_conda_py3.7_upload - 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: - binary_macos_conda:
filters: filters:
branches: branches:
......
...@@ -23,7 +23,7 @@ def workflows(prefix='', upload=False, filter_branch=None, indentation=6): ...@@ -23,7 +23,7 @@ def workflows(prefix='', upload=False, filter_branch=None, indentation=6):
w = [] w = []
for btype in ["wheel", "conda"]: for btype in ["wheel", "conda"]:
for os_type in ["linux", "macos"]: 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]): 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) w += workflow_pair(btype, os_type, python_version, unicode, filter_branch, prefix, upload)
......
...@@ -8,12 +8,11 @@ cache: ...@@ -8,12 +8,11 @@ cache:
directories: directories:
- /home/travis/download - /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. # lint and example tests.
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- env: PYTHON_VERSION="2.7"
- env: PYTHON_VERSION="3.5" - env: PYTHON_VERSION="3.5"
- env: PYTHON_VERSION="3.6" - env: PYTHON_VERSION="3.6"
- env: PYTHON_VERSION="3.7" - 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