Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Bumped & completed our requirements to cover everything Boto imports/…
Browse files Browse the repository at this point in the history
…requires at this time.
  • Loading branch information
toastdriven committed Oct 25, 2013
1 parent 9913431 commit 4757262
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
7 changes: 2 additions & 5 deletions boto/cloudsearch/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,9 @@ def commit(self):
session = requests.Session()
adapter = requests.adapters.HTTPAdapter(
pool_connections=20,
pool_maxsize=50
pool_maxsize=50,
max_retries=5
)
# Now kludge in the right number of retries.
# Once we're requiring ``requests>=1.2.1``, this can become an
# initialization parameter above.
adapter.max_retries = 5
session.mount('http://', adapter)
session.mount('https://', adapter)
r = session.post(url, data=sdf, headers={'Content-Type': 'application/json'})
Expand Down
10 changes: 10 additions & 0 deletions docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ If you want to install ``boto`` from source::
cd boto
python setup.py install

.. note::

For most services, this is enough to get going. However, to support
everything Boto ships with, you should additionally run
``pip install -r requirements.txt``.

This installs all additional, non-stdlib modules, enabling use of things
like ``boto.cloudsearch``, ``boto.manage`` & ``boto.mashups``, as well as
covering everything needed for the test suite.


Using Virtual Environments
--------------------------
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
mock==1.0.1
nose==1.2.1
# If you upgrade to ``requests>=1.2.1``, please update
# ``boto/cloudsearch/document.py``.
requests>=1.1.0
requests>=1.2.3
rsa==3.1.1
tox==1.4
Sphinx==1.1.3
simplejson==2.5.2
argparse==1.2.1
unittest2==0.5.1
httpretty==0.5.5
paramiko>=1.10.0
PyYAML>=3.10

0 comments on commit 4757262

Please sign in to comment.