From 42ae78d3944a2c41dc84fbbc7dcb89a3fade36f9 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Tue, 10 Mar 2020 11:20:25 +0100 Subject: [PATCH 1/2] Drop support for Python 3.5 * Add note regarding dropping support of Python 3.5 in docs. * Stricter requirements for a newer pytest version. --- .travis.yml | 1 - docs/started.rst | 6 +++++- reframe/__init__.py | 2 +- requirements.txt | 2 +- setup.py | 1 - 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2a64081386..108a066922 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ dist: xenial language: python python: - - "3.5" - "3.6" - "3.7" - "3.8" diff --git a/docs/started.rst b/docs/started.rst index 29a0768874..19abda7ede 100644 --- a/docs/started.rst +++ b/docs/started.rst @@ -5,12 +5,16 @@ Getting Started Requirements ------------ -* Python 3.5 or higher. Python 2 is not supported. +* Python 3.6 or higher. Python 2 is not supported. .. note:: .. versionchanged:: 2.8 A functional TCL modules system is no more required. ReFrame can now operate without a modules system at all. + .. note:: + .. versionchanged:: 3.0 + Drop support for Python 3.5. + Optional ~~~~~~~~ diff --git a/reframe/__init__.py b/reframe/__init__.py index ed4fee4f33..c347ef0e74 100644 --- a/reframe/__init__.py +++ b/reframe/__init__.py @@ -9,7 +9,7 @@ VERSION = '3.0-dev2' INSTALL_PREFIX = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) -MIN_PYTHON_VERSION = (3, 5, 0) +MIN_PYTHON_VERSION = (3, 6, 0) # Check python version if sys.version_info[:3] < MIN_PYTHON_VERSION: diff --git a/requirements.txt b/requirements.txt index cf32784e0a..41c5dd8f7f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ jsonschema -pytest>=3.5.0 +pytest>=5.0.0 coverage setuptools diff --git a/setup.py b/setup.py index 1a40df408e..e0aee1c403 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,6 @@ scripts=['bin/reframe'], classifiers=( 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', From 3d1ada956f4c6e9a34fe08e6eebdf288e3a57f38 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Wed, 11 Mar 2020 10:35:21 +0100 Subject: [PATCH 2/2] Address PR comments --- docs/started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/started.rst b/docs/started.rst index 19abda7ede..ad5d1b7572 100644 --- a/docs/started.rst +++ b/docs/started.rst @@ -13,7 +13,7 @@ Requirements .. note:: .. versionchanged:: 3.0 - Drop support for Python 3.5. + Support for Python 3.5 has been dropped. Optional ~~~~~~~~