diff options
author | Mike Frysinger <vapier@google.com> | 2020-03-13 05:35:00 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-09-06 17:53:47 +0000 |
commit | 4b325813fc0ba3f6525a9bacb4daf78fccccc3f6 (patch) | |
tree | a2d818d5ad22e047a290b876b6c5a020097cfe6f | |
parent | 0578ebf61a6269e4045153c7d618baebaf00d869 (diff) | |
download | git-repo-4b325813fc0ba3f6525a9bacb4daf78fccccc3f6.tar.gz |
stop testing Python 2.7v2.9
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 <david.pursehouse@gmail.com>
Tested-by: Mike Frysinger <vapier@google.com>
-rw-r--r-- | .github/workflows/test-ci.yml | 5 | ||||
-rw-r--r-- | 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: | |||
14 | fail-fast: false | 14 | fail-fast: false |
15 | matrix: | 15 | matrix: |
16 | os: [ubuntu-latest, macos-latest, windows-latest] | 16 | os: [ubuntu-latest, macos-latest, windows-latest] |
17 | python-version: [2.7, 3.6, 3.7, 3.8] | 17 | python-version: [3.6, 3.7, 3.8] |
18 | exclude: | ||
19 | - os: windows-latest | ||
20 | python-version: 2.7 | ||
21 | runs-on: ${{ matrix.os }} | 18 | runs-on: ${{ matrix.os }} |
22 | 19 | ||
23 | steps: | 20 | steps: |
@@ -15,11 +15,10 @@ | |||
15 | # https://tox.readthedocs.io/ | 15 | # https://tox.readthedocs.io/ |
16 | 16 | ||
17 | [tox] | 17 | [tox] |
18 | envlist = py27, py36, py37, py38 | 18 | envlist = py36, py37, py38 |
19 | 19 | ||
20 | [gh-actions] | 20 | [gh-actions] |
21 | python = | 21 | python = |
22 | 2.7: py27 | ||
23 | 3.6: py36 | 22 | 3.6: py36 |
24 | 3.7: py37 | 23 | 3.7: py37 |
25 | 3.8: py38 | 24 | 3.8: py38 |
@@ -31,8 +30,3 @@ setenv = | |||
31 | GIT_AUTHOR_NAME = Repo test author | 30 | GIT_AUTHOR_NAME = Repo test author |
32 | GIT_COMMITTER_NAME = Repo test committer | 31 | GIT_COMMITTER_NAME = Repo test committer |
33 | EMAIL = repo@gerrit.nodomain | 32 | EMAIL = repo@gerrit.nodomain |
34 | |||
35 | [testenv:py27] | ||
36 | deps = | ||
37 | mock | ||
38 | pytest | ||