Skip to content

Commit

Permalink
Update requests and urllib library versions (#280)
Browse files Browse the repository at this point in the history
This fixes security vulnerabilities in current versions of these packages.
  • Loading branch information
brickyard authored and chattarajoy committed Jul 31, 2019
1 parent 915bdea commit c5c035b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
# command to install dependencies
install:
- pip install urllib3==1.22 requests
- pip install -r requirements.txt
- "python setup.py install"
- pip install mock
- pip install pytest==3.2.0
Expand Down
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
boto==2.45.0
certifi==2019.6.16
chardet==3.0.4
idna==2.8
inflection==0.3.1
requests==2.21.0
six==1.12.0
urllib3==1.24.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
from setuptools import setup

INSTALL_REQUIRES = ['requests >=1.0.3', 'boto >=2.45.0', 'six >=1.2.0', 'urllib3 >= 1.0.2', 'inflection >= 0.3.1']
INSTALL_REQUIRES = ['requests >=2.21.0', 'boto >=2.45.0', 'six >=1.12.0', 'urllib3 >= 1.24.3', 'inflection >= 0.3.1']
if sys.version_info < (2, 7, 0):
INSTALL_REQUIRES.append('argparse>=1.1')

Expand Down

0 comments on commit c5c035b

Please sign in to comment.