Migrate to oslo.concurrency

Namespaces are not used anymore, so imports are for oslo_concurrency,
not oslo.concurrency.

lockutils direct call is not supported anymore, so using shipped
lockutils-wrapper instead.

Use ExternalLockFixture to set lock_path for unit testing.

Updated cache and cache/_backends module from oslo-incubator to use
oslo.concurrency and not incubator version of lockutils module.

Dropped lockutils incubator module that is now moved to oslo.concurrency. Not
dropping fixture module that includes lockutils fixture since other fixtures
are still used in the tree.

Closes-Bug: #1387092
Change-Id: I2ba2295f8f5d55f272a9d23555940586b25b5a1c
This commit is contained in:
Ihar Hrachyshka
2014-12-05 18:17:15 +01:00
parent 150f5fbdca
commit 35d838ff60
22 changed files with 35 additions and 346 deletions

View File

@@ -22,6 +22,7 @@ python-keystoneclient>=0.11.1
alembic>=0.7.1
six>=1.7.0
stevedore>=1.1.0 # Apache-2.0
oslo.concurrency>=0.3.0,!=0.4.0
oslo.config>=1.6.0 # Apache-2.0
oslo.context>=0.1.0 # Apache-2.0
oslo.db>=1.3.0 # Apache-2.0