From e690ce56827de9d669718fa5d0fcda63112f8008 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Thu, 13 May 2021 19:26:33 +0100 Subject: [PATCH] drop Python 2 --- .github/workflows/tests.yml | 2 +- setup.py | 1 - tox.ini | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed4140a..b105ed4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ['2.7', '3.6', '3.7', '3.8', '3.9', 'pypy2', 'pypy3'] + python: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] exclude: # pypy3 currently fails to run on Windows - os: windows-latest diff --git a/setup.py b/setup.py index c0d8e6e..d0fba1e 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,6 @@ 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' diff --git a/tox.ini b/tox.ini index e5d532f..7c23ce6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=flake8,py27,py36,py37,py38,py39,pypy2,pypy3,docs,coverage +envlist=flake8,py36,py37,py38,py39,pypy3,docs,coverage skip_missing_interpreters=True [gh-actions]