Skip to content

Commit 27f044d

Browse files
author
Brian Curtin
committed
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
1 parent db11259 commit 27f044d

File tree

4 files changed

+2
-26
lines changed

4 files changed

+2
-26
lines changed

README.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ Documentation
3030
Documentation is available at
3131
http://developer.openstack.org/sdks/python/openstacksdk/
3232

33-
Requirements
34-
------------
35-
36-
* Python 2.7, Python 3.3+
37-
* pbr
38-
* requests
39-
* six
40-
* stevedore
41-
* oslo.utils
42-
4333
License
4434
-------
4535

doc/source/contributors/setup.rst

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,7 @@ or to run example scripts, you need to install the project's dependencies.::
106106
(sdk3)$ pip install -r requirements.txt
107107

108108
After the downloads and installs are complete, you'll have a fully functional
109-
environment to use the SDK in. This step installs the following dependencies.
110-
111-
* `oslo.utils <https://pypi.python.org/pypi/oslo.utils>`_, which we use
112-
for its ``timeutils`` module when calculating if or when authentication
113-
tokens are considered expired.
114-
* `pbr <https://pypi.python.org/pypi/pbr>`_, or the Python Build
115-
Reasonableness project. pbr injects a set of common defaults which are used
116-
throughout the OpenStack project.
117-
* `requests <https://pypi.python.org/pypi/requests>`_, which we use in the
118-
:class:`~openstack.transport.Transport` class to handle HTTP requests and
119-
responses.
120-
* `six <https://pypi.python.org/pypi/six>`_, which we use for compatibility
121-
across Python 2 and 3.
122-
* `stevedore <https://pypi.python.org/pypi/stevedore>`_, which we use for
123-
working with plugins. stevedore builds on setuptools ``entry_points``.
109+
environment to use the SDK in.
124110

125111
Building the Documentation
126112
--------------------------

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
44
pbr>=1.6
5-
requests!=2.9.0,>=2.8.1
65
six>=1.9.0
76
stevedore>=1.5.0 # Apache-2.0
87
oslo.utils>=3.2.0 # Apache-2.0

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mock>=1.2
1010
python-subunit>=0.0.18
1111
openstackdocstheme>=1.0.3
1212
os-testr>=0.4.1
13+
requests!=2.9.0,>=2.8.1
1314
requests-mock>=0.7.0 # Apache-2.0
1415
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
1516
testrepository>=0.0.18

0 commit comments

Comments
 (0)