Use osc-lib instead of openstackclient
osc-lib is a package of common support modules for writing OSC plugins. All common functions, classes such as exceptions, utils, logs and so on have been moved from openstackclient to osc-lib. So use osc-lib instead of openstackclient. Change-Id: I4377951ba0b58ea94a43c688b66c0b87dda7225d
This commit is contained in:
parent
ee9cbe632c
commit
e5a76f63f4
@ -13,7 +13,8 @@
|
|||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
from openstackclient.common import utils as oscutils
|
|
||||||
|
from osc_lib import utils as oscutils
|
||||||
|
|
||||||
from designateclient import shell
|
from designateclient import shell
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import logging
|
|||||||
from cliff import command
|
from cliff import command
|
||||||
from cliff import lister
|
from cliff import lister
|
||||||
from cliff import show
|
from cliff import show
|
||||||
from openstackclient.common import exceptions as osc_exc
|
from osc_lib import exceptions as osc_exc
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from designateclient import utils
|
from designateclient import utils
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0
|
cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0
|
||||||
jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
|
jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
|
||||||
|
osc-lib>=0.1.0 # Apache-2.0
|
||||||
oslo.utils>=3.11.0 # Apache-2.0
|
oslo.utils>=3.11.0 # Apache-2.0
|
||||||
pbr>=1.6 # Apache-2.0
|
pbr>=1.6 # Apache-2.0
|
||||||
keystoneauth1>=2.7.0 # Apache-2.0
|
keystoneauth1>=2.7.0 # Apache-2.0
|
||||||
|
@ -7,7 +7,6 @@ coverage>=3.6 # Apache-2.0
|
|||||||
mock>=2.0 # BSD
|
mock>=2.0 # BSD
|
||||||
discover # BSD
|
discover # BSD
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
python-openstackclient>=2.1.0 # Apache-2.0
|
|
||||||
python-subunit>=0.0.18 # Apache-2.0/BSD
|
python-subunit>=0.0.18 # Apache-2.0/BSD
|
||||||
requests-mock>=0.7.0 # Apache-2.0
|
requests-mock>=0.7.0 # Apache-2.0
|
||||||
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user