Fixed DuplicateOptError for latest oslo.config 35/40435/2
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Fri, 30 Mar 2018 13:33:03 +0000 (06:33 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Fri, 30 Mar 2018 13:54:53 +0000 (06:54 -0700)
Fixed the duplicate config in music/api.py which was occuring
when the oslo.config dependency is updated to the latest 6.0.0
Also removed psycopg2 dependency which was throwing warnings. psycopg2
is not really used during tests. So removing from test dependencies

Change-Id: I98e31e29ee507d982f1b9a82780f0f665de452c6
Issue-ID: OPTFRA-209
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
conductor/conductor/common/music/api.py
conductor/requirements.txt
conductor/test-requirements.txt

index 306f016..b3bb5fc 100644 (file)
@@ -63,9 +63,6 @@ MUSIC_API_OPTS = [
     cfg.IntOpt('replication_factor',
                default=1,
                help='Replication factor'),
-    cfg.BoolOpt('debug',
-                default=False,
-                help='Log debug messages. Default value is False.'),
     cfg.BoolOpt('mock',
                 default=False,
                 help='Use mock API'),
index c587704..9359e26 100644 (file)
@@ -5,7 +5,7 @@
 cotyledon # Apache-2.0
 futurist>=0.11.0 # Apache-2.0
 lxml>=2.3 # BSD
-oslo.config<5.6.0,>=3.9.0 # Apache-2.0
+oslo.config>=3.9.0 # Apache-2.0
 oslo.i18n>=2.1.0 # Apache-2.0
 oslo.log>=1.14.0 # Apache-2.0
 # oslo.policy>=0.5.0 # Apache-2.0
index 3150f00..c0e68d0 100644 (file)
@@ -11,7 +11,6 @@ kombu>=3.0.25 # BSD
 mock>=2.0 # BSD
 mox3>=0.7.0 # Apache-2.0
 oslotest>=1.10.0 # Apache-2.0
-psycopg2>=2.5 # LGPL/ZPL
 testrepository>=0.0.18 # Apache-2.0/BSD
 testscenarios>=0.4 # Apache-2.0/BSD
 testtools>=1.4.0 # MIT