Ver Fonte

bump requests to 2.7 to fix the ResponseNotReady() error, and add a missing default for tox posargs

Signed-off-by: Daniel Nephin <[email protected]>
Daniel Nephin há 10 anos atrás
pai
commit
9d7ad796a3
3 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      requirements.txt
  2. 1 1
      setup.py
  3. 1 1
      tox.ini

+ 1 - 1
requirements.txt

@@ -3,7 +3,7 @@ docker-py==1.3.1
 dockerpty==0.3.4
 docopt==0.6.1
 jsonschema==2.5.1
-requests==2.6.1
+requests==2.7.0
 six==1.7.3
 texttable==0.8.2
 websocket-client==0.32.0

+ 1 - 1
setup.py

@@ -30,7 +30,7 @@ def find_version(*file_paths):
 install_requires = [
     'docopt >= 0.6.1, < 0.7',
     'PyYAML >= 3.10, < 4',
-    'requests >= 2.6.1, < 2.7',
+    'requests >= 2.6.1, < 2.8',
     'texttable >= 0.8.1, < 0.9',
     'websocket-client >= 0.32.0, < 1.0',
     'docker-py >= 1.3.1, < 1.4',

+ 1 - 1
tox.ini

@@ -15,7 +15,7 @@ commands =
         --cov-report html \
         --cov-report term \
         --cov-config=tox.ini \
-        {posargs}
+        {posargs:tests}
 
 [testenv:pre-commit]
 skip_install = True