Drop use of 'oslo' namespace package
The Oslo libraries have moved all of their code out of the 'oslo' namespace package into per-library packages. The namespace package was retained during kilo for backwards compatibility, but will be removed by the liberty-2 milestone. This change removes the use of the namespace package, replacing it with the new package names. The patches in the libraries will be put on hold until application patches have landed, or L2, whichever comes first. At that point, new versions of the libraries without namespace packages will be released as a major version update. Please merge this patch, or an equivalent, before L2 to avoid problems with those library releases. Blueprint: remove-namespace-packages https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages Change-Id: I695d2141c00a5ee36e042efbb9bac4e2803c1948
This commit is contained in:
parent
5df3bd1dac
commit
1d51b98998
@ -13,6 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo import i18n
|
||||
import oslo_i18n as i18n
|
||||
|
||||
i18n.install('ironic')
|
||||
|
@ -13,7 +13,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo import i18n # noqa
|
||||
import oslo_i18n as i18n # noqa
|
||||
|
||||
_translators = i18n.TranslatorFactory(domain='ironic')
|
||||
|
||||
|
@ -27,8 +27,8 @@ __all__ = [
|
||||
'TRANSPORT_ALIASES',
|
||||
]
|
||||
|
||||
from oslo import messaging
|
||||
from oslo_config import cfg
|
||||
import oslo_messaging as messaging
|
||||
from oslo_serialization import jsonutils
|
||||
|
||||
from ironic.common import context as ironic_context
|
||||
|
@ -19,10 +19,10 @@
|
||||
import signal
|
||||
import socket
|
||||
|
||||
from oslo import messaging
|
||||
from oslo_config import cfg
|
||||
from oslo_context import context
|
||||
from oslo_log import log
|
||||
import oslo_messaging as messaging
|
||||
from oslo_utils import importutils
|
||||
|
||||
from ironic.common import config
|
||||
|
@ -49,12 +49,12 @@ import threading
|
||||
|
||||
import eventlet
|
||||
from eventlet import greenpool
|
||||
from oslo import messaging
|
||||
from oslo_concurrency import lockutils
|
||||
from oslo_config import cfg
|
||||
from oslo_context import context as ironic_context
|
||||
from oslo_db import exception as db_exception
|
||||
from oslo_log import log
|
||||
import oslo_messaging as messaging
|
||||
from oslo_utils import excutils
|
||||
from oslo_utils import uuidutils
|
||||
|
||||
|
@ -20,7 +20,7 @@ Client side of the conductor RPC API.
|
||||
|
||||
import random
|
||||
|
||||
from oslo import messaging
|
||||
import oslo_messaging as messaging
|
||||
|
||||
from ironic.common import exception
|
||||
from ironic.common import hash_ring
|
||||
|
@ -17,9 +17,9 @@
|
||||
import collections
|
||||
import copy
|
||||
|
||||
from oslo import messaging
|
||||
from oslo_context import context
|
||||
from oslo_log import log as logging
|
||||
import oslo_messaging as messaging
|
||||
import six
|
||||
|
||||
from ironic.common import exception
|
||||
|
@ -17,8 +17,8 @@
|
||||
import json
|
||||
|
||||
import mock
|
||||
from oslo import messaging
|
||||
from oslo_config import cfg
|
||||
import oslo_messaging as messaging
|
||||
import six
|
||||
from webob import exc as webob_exc
|
||||
|
||||
|
@ -22,10 +22,10 @@ import datetime
|
||||
|
||||
import eventlet
|
||||
import mock
|
||||
from oslo import messaging
|
||||
from oslo_config import cfg
|
||||
from oslo_context import context
|
||||
from oslo_db import exception as db_exception
|
||||
import oslo_messaging as messaging
|
||||
from oslo_utils import strutils
|
||||
from oslo_utils import uuidutils
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user