From 4b325813fc0ba3f6525a9bacb4daf78fccccc3f6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Mar 2020 05:35:00 -0400 Subject: [PATCH] stop testing Python 2.7 A recent change broke `repo version` on Python 2.7. Rather than fix it, lets drop Python 2.7 support so it can slowly rot. Bug: https://crbug.com/gerrit/10418 Change-Id: I5c6e3d18e4a193b0a978062c23f7cea392e95d0f Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259155 Reviewed-by: David Pursehouse Tested-by: Mike Frysinger --- .github/workflows/test-ci.yml | 5 +---- tox.ini | 8 +------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index c33002dc..ddc5a5f3 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -14,10 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [2.7, 3.6, 3.7, 3.8] - exclude: - - os: windows-latest - python-version: 2.7 + python-version: [3.6, 3.7, 3.8] runs-on: ${{ matrix.os }} steps: diff --git a/tox.ini b/tox.ini index e6d38e76..b4758d1d 100644 --- a/tox.ini +++ b/tox.ini @@ -15,11 +15,10 @@ # https://tox.readthedocs.io/ [tox] -envlist = py27, py36, py37, py38 +envlist = py36, py37, py38 [gh-actions] python = - 2.7: py27 3.6: py36 3.7: py37 3.8: py38 @@ -31,8 +30,3 @@ setenv = GIT_AUTHOR_NAME = Repo test author GIT_COMMITTER_NAME = Repo test committer EMAIL = repo@gerrit.nodomain - -[testenv:py27] -deps = - mock - pytest