Skip to content

Commit ff6111c

Browse files
amordegsnedders
authored andcommitted
Declare explicit dependency on Six 1.9 (#301)
1 parent ea0fafd commit ff6111c

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cache:
1616
env:
1717
- USE_OPTIONAL=true
1818
- USE_OPTIONAL=false
19+
- SIX_VERSION=1.9 USE_OPTIONAL=true
1920

2021
install:
2122
- bash requirements-install.sh

requirements-install.sh

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ if [[ $USE_OPTIONAL == "true" ]]; then
1111
pip install -U -r requirements-optional.txt
1212
fi
1313

14+
if [[ $SIX_VERSION != "false" ]]; then
15+
pip install six==$SIX_VERSION
16+
fi
17+
1418
if [[ $CI == "true" ]]; then
1519
pip install -U codecov
1620
fi

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
six
1+
six>=1.9
22
webencodings
33
ordereddict ; python_version < '2.7'

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def default_environment():
102102
maintainer_email='[email protected]',
103103
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
104104
install_requires=[
105-
'six',
105+
'six>=1.9',
106106
'webencodings',
107107
],
108108
extras_require={

0 commit comments

Comments
 (0)