From 171e4fb7016383525d967b8584a591bf416dcb42 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Thu, 20 Jan 2022 07:45:01 +0000 Subject: [PATCH] Remove support for Python 3.6 (#500) --- .github/workflows/test.yml | 2 +- docs/development/getting-started.rst | 2 +- noxfile.py | 2 +- setup.py | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97c0c25d..4910ec0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: matrix: os: [Ubuntu, Windows, macOS] python_version: - ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.7"] + ["3.7", "3.8", "3.9", "3.10", "pypy-3.7"] steps: - uses: actions/checkout@v1 diff --git a/docs/development/getting-started.rst b/docs/development/getting-started.rst index 8bd42ac0..cb751d67 100644 --- a/docs/development/getting-started.rst +++ b/docs/development/getting-started.rst @@ -30,10 +30,10 @@ each supported Python version and run the tests. For example: $ nox -s tests ... nox > Ran multiple sessions: - nox > * tests-3.6: success nox > * tests-3.7: success nox > * tests-3.8: success nox > * tests-3.9: success + nox > * tests-3.10: success nox > * tests-pypy3: skipped You may not have all the required Python versions installed, in which case you diff --git a/noxfile.py b/noxfile.py index 10564101..c8f30eae 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,7 @@ nox.options.reuse_existing_virtualenvs = True -@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]) +@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy3"]) def tests(session): def coverage(*args): session.run("python", "-m", "coverage", *args) diff --git a/setup.py b/setup.py index ba1023f5..82ef248e 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ url=about["__uri__"], author=about["__author__"], author_email=about["__email__"], - python_requires=">=3.6", + python_requires=">=3.7", install_requires=["pyparsing>=2.0.2,!=3.0.5"], # 2.0.2 + needed to avoid issue #91 classifiers=[ "Development Status :: 5 - Production/Stable", @@ -57,7 +57,6 @@ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",