Skip to content

Commit d16d21b

Browse files
authored
Merge pull request #168 from splitio/bug/enum34InPy34
Bug/enum34 in py34
2 parents cc76edc + 759d81f commit d16d21b

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
8.1.7 (Jan 23, 2020)
2+
- Removed enum34 dependency for python versions > 3.4
3+
14
8.1.6 (Oct 31, 2019)
25
- Fixed input validation performance issue.
36

setup.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,25 @@
33

44
from setuptools import setup, find_packages
55
from os import path
6-
from sys import version_info
76

8-
tests_require = ['flake8', 'pytest', 'pytest-mock', 'coverage', 'pytest-cov']
7+
tests_require = [
8+
'flake8',
9+
'pytest',
10+
'pytest-mock',
11+
'coverage',
12+
'pytest-cov',
13+
'mock;python_version<"3"'
14+
]
915
install_requires = [
1016
'requests>=2.9.1',
1117
'pyyaml>=5.1',
1218
'future>=0.15.2',
1319
'docopt>=0.6.2',
20+
'enum34;python_version<"3.4"',
21+
'six>=1.10.0;python_version<"3"',
22+
'futures>=3.0.5;python_version<"3"'
1423
]
1524

16-
if version_info < (3,):
17-
tests_require += ['mock']
18-
install_requires += ['six>=1.10.0', 'futures>=3.0.5', 'enum34>=1.1.5']
19-
2025
with open(path.join(path.abspath(path.dirname(__file__)),
2126
'splitio', 'version.py')) as f:
2227
exec(f.read())

splitio/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '8.1.6'
1+
__version__ = '8.1.7'

0 commit comments

Comments
 (0)