From 3e6eee3b7d83f2715a4b19b90ed77b91c85ba2ea Mon Sep 17 00:00:00 2001 From: Richard Date: Fri, 6 Oct 2023 16:54:26 +0200 Subject: [PATCH] remove python 2 support from test setup --- .github/workflows/tests.yml | 2 +- .travis.yml | 8 ----- tox.ini | 60 +------------------------------------ 3 files changed, 2 insertions(+), 68 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f29cbcc..bebbb3c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["2.7", "3.4", "3.5"] + python-version: ["3.4", "3.5"] steps: - uses: actions/checkout@v3 diff --git a/.travis.yml b/.travis.yml index 21b5c2d..dba9ad5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,9 @@ script: - "tox" env: - "TOXENV=py35-1.11.X" - - "TOXENV=py27-1.11.X" - "TOXENV=py35-1.10.X" - - "TOXENV=py27-1.10.X" - "TOXENV=py35-1.9.X" - - "TOXENV=py27-1.9.X" - "TOXENV=py34-1.8.X" - - "TOXENV=py27-1.8.X" - "TOXENV=py34-1.7.X" - - "TOXENV=py27-1.7.X" - "TOXENV=py34-1.6.X" - - "TOXENV=py27-1.6.X" - "TOXENV=py34-1.5.X" - - "TOXENV=py27-1.5.X" - - "TOXENV=py27-1.4.X" diff --git a/tox.ini b/tox.ini index 925cd21..b444256 100644 --- a/tox.ini +++ b/tox.ini @@ -6,20 +6,12 @@ [tox] envlist = py35-1.11.X, - py27-1.11.X, py35-1.10.X, - py27-1.10.X, py35-1.9.X, - py27-1.9.X, py34-1.8.X, - py27-1.8.X, py34-1.7.X, - py27-1.7.X, py34-1.6.X, - py27-1.6.X, - py34-1.5.X, - py27-1.5.X, - py27-1.4.X + py34-1.5.X [testenv] setenv = @@ -35,89 +27,39 @@ deps = django>=1.11, <1.12 factory_boy==2.9.2 -[testenv:py27-1.11.X] -basepython = python2.7 -deps = - django>=1.11, <1.12 - factory_boy==2.9.2 - [testenv:py35-1.10.X] basepython = python3.5 deps = django>=1.10, <1.11 factory_boy==2.9.2 -[testenv:py27-1.10.X] -basepython = python2.7 -deps = - django>=1.10, <1.11 - factory_boy==2.9.2 - [testenv:py35-1.9.X] basepython = python3.5 deps = django>=1.8, <1.9 factory_boy==2.4.1 -[testenv:py27-1.9.X] -basepython = python2.7 -deps = - django>=1.8, <1.9 - factory_boy==2.4.1 - [testenv:py34-1.8.X] basepython = python3.4 deps = django>=1.7, <1.8 factory_boy==2.4.1 -[testenv:py27-1.8.X] -basepython = python2.7 -deps = - django>=1.7, <1.8 - factory_boy==2.4.1 - [testenv:py34-1.7.X] basepython = python3.4 deps = django>=1.7, <1.8 factory_boy==2.4.1 -[testenv:py27-1.7.X] -basepython = python2.7 -deps = - django>=1.7, <1.8 - factory_boy==2.4.1 - [testenv:py34-1.6.X] basepython = python3.4 deps = django>=1.6, <1.7 factory_boy==2.4.1 -[testenv:py27-1.6.X] -basepython = python2.7 -deps = - django>=1.6, <1.7 - factory_boy==2.4.1 - [testenv:py34-1.5.X] basepython = python3.4 deps = django-discover-runner django>=1.5, <1.6 factory_boy==2.4.1 - -[testenv:py27-1.5.X] -basepython = python2.7 -deps = - django-discover-runner - django>=1.5, <1.6 - factory_boy==2.4.1 - -[testenv:py27-1.4.X] -basepython = python2.7 -deps = - django-discover-runner - django>=1.4, <1.5 - factory_boy==2.4.1