Remove requests from requirements

With the move to keystoneauth, we no longert depend on the requests
library for anything at runtime. We do still have one test, which is
valid, that depends on requests to ensure that
https://bugs.launchpad.net/python-openstacksdk/+bug/1428342 stays fixed.
This change moves requests to test-requirements and additionally removes
the list of dependencies in the README file, as it duplicates the only
place requirements are truly needed.

Change-Id: I6aa8e71573e685b2748150ea5cec946b65d525ae
This commit is contained in:
Brian Curtin 2015-12-15 12:34:30 -06:00
parent db1125990e
commit 27f044df4f
4 changed files with 2 additions and 26 deletions

View File

@ -30,16 +30,6 @@ Documentation
Documentation is available at
http://developer.openstack.org/sdks/python/openstacksdk/
Requirements
------------
* Python 2.7, Python 3.3+
* pbr
* requests
* six
* stevedore
* oslo.utils
License
-------

View File

@ -106,21 +106,7 @@ or to run example scripts, you need to install the project's dependencies.::
(sdk3)$ pip install -r requirements.txt
After the downloads and installs are complete, you'll have a fully functional
environment to use the SDK in. This step installs the following dependencies.
* `oslo.utils <https://pypi.python.org/pypi/oslo.utils>`_, which we use
for its ``timeutils`` module when calculating if or when authentication
tokens are considered expired.
* `pbr <https://pypi.python.org/pypi/pbr>`_, or the Python Build
Reasonableness project. pbr injects a set of common defaults which are used
throughout the OpenStack project.
* `requests <https://pypi.python.org/pypi/requests>`_, which we use in the
:class:`~openstack.transport.Transport` class to handle HTTP requests and
responses.
* `six <https://pypi.python.org/pypi/six>`_, which we use for compatibility
across Python 2 and 3.
* `stevedore <https://pypi.python.org/pypi/stevedore>`_, which we use for
working with plugins. stevedore builds on setuptools ``entry_points``.
environment to use the SDK in.
Building the Documentation
--------------------------

View File

@ -2,7 +2,6 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=1.6
requests!=2.9.0,>=2.8.1
six>=1.9.0
stevedore>=1.5.0 # Apache-2.0
oslo.utils>=3.2.0 # Apache-2.0

View File

@ -10,6 +10,7 @@ mock>=1.2
python-subunit>=0.0.18
openstackdocstheme>=1.0.3
os-testr>=0.4.1
requests!=2.9.0,>=2.8.1
requests-mock>=0.7.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
testrepository>=0.0.18