Move optional driver requirements to test-requirements.txt
Instead of having redis, mysql, ipc, zookeeper, memcache in requirements.txt (which are only needed if those drivers are used) be always required move them to test-requirements.txt and require users to install the correct requirement for there expected usage. This leaves zake as a requirement, as that driver is the examples default and is an in-memory driver that should/could be the default when no other driver is accessible... Change-Id: I410864646bb2fa401e5c827dda9bd70c6c225c74
This commit is contained in:
parent
e4bbade4ef
commit
ac13079410
|
@ -6,10 +6,7 @@ Babel>=1.3
|
|||
stevedore>=1.3.0 # Apache-2.0
|
||||
six>=1.9.0
|
||||
iso8601>=0.1.9
|
||||
kazoo>=1.3.1
|
||||
pymemcache>=1.2 # Apache 2.0 License
|
||||
zake>=0.1.6 # Apache-2.0
|
||||
msgpack-python>=0.4.0
|
||||
retrying>=1.2.3,!=1.3.0 # Apache-2.0
|
||||
oslo.utils>=1.4.0 # Apache-2.0
|
||||
redis>=2.10.0
|
||||
|
|
|
@ -6,11 +6,8 @@ Babel>=1.3
|
|||
stevedore>=1.3.0 # Apache-2.0
|
||||
six>=1.9.0
|
||||
iso8601>=0.1.9
|
||||
kazoo>=1.3.1
|
||||
pymemcache>=1.2 # Apache 2.0 License
|
||||
zake>=0.1.6 # Apache-2.0
|
||||
msgpack-python>=0.4.0
|
||||
retrying>=1.2.3,!=1.3.0 # Apache-2.0
|
||||
futures>=2.1.6
|
||||
oslo.utils>=1.4.0 # Apache-2.0
|
||||
redis>=2.10.0
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
pep8==1.5.7
|
||||
pyflakes==0.8.1
|
||||
flake8==2.2.4
|
||||
|
@ -13,7 +14,12 @@ testrepository>=0.0.18
|
|||
testtools>=0.9.36,!=1.2.0
|
||||
testscenarios>=0.4
|
||||
coverage>=3.6
|
||||
fixtures>=0.3.14
|
||||
|
||||
# All the various optional drivers require these...
|
||||
psycopg2
|
||||
PyMySQL>=0.6.2 # MIT License
|
||||
sysv_ipc>=0.6.8 # BSD License
|
||||
fixtures>=0.3.14
|
||||
kazoo>=1.3.1
|
||||
pymemcache>=1.2 # Apache 2.0 License
|
||||
redis>=2.10.0
|
||||
|
|
Loading…
Reference in New Issue