From 29fc2644b8ab9d8af3417c1ef948663cce1d98f5 Mon Sep 17 00:00:00 2001 From: Sam Park Date: Thu, 16 Jan 2020 21:47:40 -0800 Subject: [PATCH 1/2] Fix Python 3 --- setup.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 2525428a..e3082bc6 100644 --- a/setup.py +++ b/setup.py @@ -3,20 +3,25 @@ from setuptools import setup, find_packages from os import path -from sys import version_info -tests_require = ['flake8', 'pytest', 'pytest-mock', 'coverage', 'pytest-cov'] +tests_require = [ + 'flake8', + 'pytest', + 'pytest-mock', + 'coverage', + 'pytest-cov', + 'mock;python_version<"3"' +] install_requires = [ 'requests>=2.9.1', 'pyyaml>=5.1', 'future>=0.15.2', 'docopt>=0.6.2', + 'enum34;python_version<"3.4"', + 'six>=1.10.0;python_version<"3"', + 'futures>=3.0.5;python_version<"3"' ] -if version_info < (3,): - tests_require += ['mock'] - install_requires += ['six>=1.10.0', 'futures>=3.0.5', 'enum34>=1.1.5'] - with open(path.join(path.abspath(path.dirname(__file__)), 'splitio', 'version.py')) as f: exec(f.read()) From a62785b2b17e67207e16b855f947972f95b88ff9 Mon Sep 17 00:00:00 2001 From: Martin Redolatti Date: Thu, 23 Jan 2020 15:28:03 -0300 Subject: [PATCH 2/2] update version & changes --- CHANGES.txt | 3 +++ splitio/version.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 9ceda5fa..f819da3e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +8.1.7 (Jan 23, 2020) + - Removed enum34 dependency for python versions > 3.4 + 8.1.6 (Oct 31, 2019) - Fixed input validation performance issue. diff --git a/splitio/version.py b/splitio/version.py index 99f4cbb4..03256494 100644 --- a/splitio/version.py +++ b/splitio/version.py @@ -1 +1 @@ -__version__ = '8.1.6' +__version__ = '8.1.7'