From 286c50591256f9eb2426d05706b72e0a4b08b01b Mon Sep 17 00:00:00 2001 From: Henning Kage Date: Thu, 27 Jul 2023 15:08:14 +0200 Subject: [PATCH] Removed tox-factor and deprecated Python 3.7 tests --- .github/workflows/tests.yml | 8 +++----- setup.py | 1 - tox.ini | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5cbf8d2..7c6e32f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.8, 3.9] steps: - uses: actions/checkout@v2 @@ -21,14 +21,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install "tox<4" tox-factor coverage + pip install tox coverage - name: Lint with flake8 run: tox -e flake8 if: matrix.python-version == '3.8' - name: Run tests via tox - run: | - export TOXFACTOR=$(echo "py${{ matrix.python-version }}" | sed 's/\.//g') - tox + run: tox -f $(echo "py${{ matrix.python-version }}" | sed 's/\.//g') - name: Generate coverage report run: coverage xml if: ${{ success() }} diff --git a/setup.py b/setup.py index 2afe940..8607686 100755 --- a/setup.py +++ b/setup.py @@ -76,7 +76,6 @@ def command_factory(name, base_class): Operating System :: OS Independent Programming Language :: JavaScript Programming Language :: Python -Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Internet diff --git a/tox.ini b/tox.ini index 6395d3a..03d3162 100755 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = flake8 - py{37,38,39}-django{30,31,32} + py{38,39}-django{30,31,32} skipsdist = true #skip_missing_interpreters=true