From f73055f72bf7d4b06130507eeeed4ae70f61bd97 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 7 May 2019 21:16:22 +0200 Subject: [PATCH] Drop support for Python 3.4 because it is EOL (#963) --- .travis.yml | 2 -- README.md | 4 ++-- README.rst | 8 ++++---- setup.py | 3 +-- tox.ini | 2 +- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53878e74..33c8665a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ matrix: include: - env: TOXENV=py27 python: 2.7 - - env: TOXENV=py34 - python: 3.4 - env: TOXENV=py35 python: 3.5 - env: TOXENV=py36 diff --git a/README.md b/README.md index 8b5a83e3..713da3cc 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ You can also run the benchmarks with: py.test graphene --benchmark-only ``` -Graphene supports several versions of Python. To make sure that changes do not break compatibility with any of those versions, we use `tox` to create virtualenvs for each python version and run tests with that version. To run against all python versions defined in the `tox.ini` config file, just run: +Graphene supports several versions of Python. To make sure that changes do not break compatibility with any of those versions, we use `tox` to create virtualenvs for each Python version and run tests with that version. To run against all Python versions defined in the `tox.ini` config file, just run: ```sh tox @@ -180,7 +180,7 @@ If you wish to run against a specific version defined in the `tox.ini` file: tox -e py36 ``` -Tox can only use whatever versions of python are installed on your system. When you create a pull request, Travis will also be running the same tests and report the results, so there is no need for potential contributors to try to install every single version of python on their own system ahead of time. We appreciate opening issues and pull requests to make graphene even more stable & useful! +Tox can only use whatever versions of Python are installed on your system. When you create a pull request, Travis will also be running the same tests and report the results, so there is no need for potential contributors to try to install every single version of Python on their own system ahead of time. We appreciate opening issues and pull requests to make graphene even more stable & useful! ### Building Documentation diff --git a/README.rst b/README.rst index 5b3f3747..d6f4592b 100644 --- a/README.rst +++ b/README.rst @@ -308,8 +308,8 @@ You can also run the benchmarks with: Graphene supports several versions of Python. To make sure that changes do not break compatibility with any of those versions, we use ``tox`` to -create virtualenvs for each python version and run tests with that -version. To run against all python versions defined in the ``tox.ini`` +create virtualenvs for each Python version and run tests with that +version. To run against all Python versions defined in the ``tox.ini`` config file, just run: .. code:: sh @@ -323,10 +323,10 @@ file: tox -e py36 -Tox can only use whatever versions of python are installed on your +Tox can only use whatever versions of Python are installed on your system. When you create a pull request, Travis will also be running the same tests and report the results, so there is no need for potential -contributors to try to install every single version of python on their +contributors to try to install every single version of Python on their own system ahead of time. We appreciate opening issues and pull requests to make graphene even more stable & useful! diff --git a/setup.py b/setup.py index 82bb011c..c75df0ba 100644 --- a/setup.py +++ b/setup.py @@ -76,10 +76,9 @@ setup( "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: PyPy", ], keywords="api graphql protocol rest relay graphene", diff --git a/tox.ini b/tox.ini index 2b7ae59c..c1dbd01d 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ deps = setenv = PYTHONPATH = .:{envdir} commands = - py{27,34,py}: py.test --cov=graphene graphene examples {posargs} + py{27,py}: py.test --cov=graphene graphene examples {posargs} py{35,36,37}: py.test --cov=graphene graphene examples tests_asyncio {posargs} [testenv:pre-commit]