diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b22d7c8..031b748 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10"] os: - macos-latest - windows-latest diff --git a/AUTHORS.rst b/AUTHORS.rst index 1f036a4..4fef9db 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -55,3 +55,5 @@ Patches and Suggestions - Sam Bull (@greatestape) - Florence Blanc-Renaud (@flo-renaud) + +- Andrew Chapkowski (@achapkowski) \ No newline at end of file diff --git a/setup.py b/setup.py index 62f63fa..09a3c71 100644 --- a/setup.py +++ b/setup.py @@ -52,20 +52,17 @@ def get_version(): packages=packages, package_data={'': ['LICENSE', 'AUTHORS.rst']}, include_package_data=True, - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + python_requires='>=3.7, <3.11', install_requires=['requests>=2.0.1,<3.0.0'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], diff --git a/tox.ini b/tox.ini index be886a8..22f8e2f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,8 @@ [tox] -envlist = py27,py37,py38,py39,py310,pypy,pypy3,{py27,py37}-flake8,noopenssl,docstrings +envlist =py37,py38,py39,py310,pypy,pypy3,{py37}-flake8,noopenssl,docstrings [gh-actions] python = - 2.7: py27 3.7: py37, py37-flake8, noopenssl 3.8: py38 3.9: py39 @@ -31,13 +30,7 @@ deps = betamax>0.5.0 commands = py.test {posargs} - -[testenv:py27-flake8] -basepython = python2.7 -deps = - flake8 -commands = flake8 {posargs} requests_toolbelt - + [testenv:py37-flake8] basepython = python3.7 deps =