Skip to content

Commit

Permalink
Merge pull request #5238 from dimagi/pip-timeout
Browse files Browse the repository at this point in the history
Upping pip timeout to 60 seconds
  • Loading branch information
esoergel committed Jan 8, 2015
2 parents de71b28 + 59bbfd4 commit 09d2c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ install:
# set env variables for couch username/password, used by install.sh, to blank
- "time (bash -e .travis/quietly-run-install.sh | ts)"
- "curl -X PUT http://localhost:5984/commcarehq_test" # this is an auth test
- "time (pip install --exists-action w -r requirements/requirements.txt --use-mirrors)"
- "time (pip install --exists-action w -r requirements/requirements.txt --use-mirrors --timeout 60)"
- "time (bash -e .travis/misc-setup.sh | ts)"
- "cp .travis/localsettings.py localsettings.py"
- "pip install coverage unittest2 mock --use-mirrors"
Expand Down
2 changes: 1 addition & 1 deletion fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def update_virtualenv(preindex=False):
# but only the ones that are actually installed (checks pip freeze)
sudo("%s bash scripts/uninstall-requirements.sh" % cmd_prefix,
user=env.sudo_user)
sudo('%s pip install --requirement %s --requirement %s' % (
sudo('%s pip install --timeout 60 --requirement %s --requirement %s' % (
cmd_prefix,
posixpath.join(requirements, 'prod-requirements.txt'),
posixpath.join(requirements, 'requirements.txt'),
Expand Down

0 comments on commit 09d2c73

Please sign in to comment.