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

Bumped & completed our requirements to cover everything Boto imports/req... #1812

Merged
merged 1 commit into from
Oct 25, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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