Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test=pytest

[tool:pytest]
ignore_glob=./splitio/_OLD/*
addopts = --cov=splitio --verbose
addopts = --verbose --cov=splitio --cov-report xml
python_classes=*Tests

[build_sphinx]
Expand Down
17 changes: 11 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
1 change: 1 addition & 0 deletions sonar-scanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sonar_scanner() {
-Dsonar.sources='splitio' \
-Dsonar.projectName='python-client' \
-Dsonar.projectKey='python-client' \
-Dsonar.python.coverage.reportPaths='coverage.xml' \
-Dsonar.links.ci='https://travis-ci.com/splitio/python-client' \
-Dsonar.links.scm='https://github.com/splitio/python-client' \
${params}
Expand Down
2 changes: 1 addition & 1 deletion splitio/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '8.1.6'
__version__ = '8.1.7'