From 1b6ba4a5b79dc36fa338df43a313d616ba30d766 Mon Sep 17 00:00:00 2001 From: salilmishra23 Date: Fri, 9 Sep 2022 04:20:58 +0200 Subject: [PATCH] remove python 2.7 from tox & CI tasks --- .appveyor.yml | 3 --- .travis.yml | 10 ---------- setup.py | 3 +-- tox.ini | 2 +- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 75a1d9d2..f26e6056 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -2,9 +2,6 @@ build: false environment: matrix: - - PYTHON: "C:\\Python27" - PYTHON_VERSION: "2.7" - TOXENV: "py27" - PYTHON: "C:\\Python38" PYTHON_VERSION: "3.8" TOXENV: "py38" diff --git a/.travis.yml b/.travis.yml index 61cd73f5..61b32f8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,6 @@ language: python matrix: include: - - name: "Run test suite on Linux with Python 2.7" - os: linux - python: 2.7 - env: TOXENV=py27 - name: "Run test suite on Linux with Python 3.8" os: linux python: 3.8 @@ -22,12 +18,6 @@ matrix: env: TOXENV=pylama # 10.1 is OS X 10.13.x # https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions - - name: "Run test suite on OS X with Python 2.7" - os: osx - osx_image: xcode10.1 - language: generic - python: 2.7 - env: TOXENV=py27 - name: "Run test suite on OS X with Python 3.8" os: osx osx_image: xcode11 diff --git a/setup.py b/setup.py index 1b24421f..3617196c 100755 --- a/setup.py +++ b/setup.py @@ -41,8 +41,7 @@ def get_version(): "Topic :: System :: Software Distribution", "Topic :: Utilities", "Programming Language :: Python", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", ], keywords='mozilla', author='Mozilla Automation and Testing Team', diff --git a/tox.ini b/tox.ini index ab23f119..220d6db1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py36, pylama +envlist = py37, pylama [testenv] usedevelop = true