From: Doug Hellmann Date: Tue, 28 Apr 2015 16:46:59 +0000 (+0000) Subject: Drop use of 'oslo' namespace package. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=018ce65252760cd5d6629a690f1f5bc21803974f;p=openstack-build%2Fcinder-build.git 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: I950f1afb1b4600dfc1f38d1a7d9322f240f444a6 --- diff --git a/cinder/openstack/common/config/generator.py b/cinder/openstack/common/config/generator.py index bb20dfb27..a376b2b34 100644 --- a/cinder/openstack/common/config/generator.py +++ b/cinder/openstack/common/config/generator.py @@ -27,8 +27,8 @@ import socket import sys import textwrap -from oslo.config import cfg -from oslo.utils import importutils +from oslo_config import cfg +from oslo_utils import importutils import six import stevedore.named diff --git a/cinder/openstack/common/periodic_task.py b/cinder/openstack/common/periodic_task.py index c9d4f8973..1ffd9a21f 100644 --- a/cinder/openstack/common/periodic_task.py +++ b/cinder/openstack/common/periodic_task.py @@ -16,7 +16,7 @@ import logging import random import time -from oslo.config import cfg +from oslo_config import cfg import six from cinder.openstack.common._i18n import _, _LE, _LI diff --git a/cinder/openstack/common/scheduler/filters/extra_specs_ops.py b/cinder/openstack/common/scheduler/filters/extra_specs_ops.py index 54450d36c..735e3037c 100644 --- a/cinder/openstack/common/scheduler/filters/extra_specs_ops.py +++ b/cinder/openstack/common/scheduler/filters/extra_specs_ops.py @@ -15,7 +15,7 @@ import operator -from oslo.utils import strutils +from oslo_utils import strutils # 1. The following operations are supported: # =, s==, s!=, s>=, s>, s<=, s<, , , , ==, !=, >=, <= diff --git a/cinder/openstack/common/scheduler/filters/json_filter.py b/cinder/openstack/common/scheduler/filters/json_filter.py index 25402c76c..74d4443e1 100644 --- a/cinder/openstack/common/scheduler/filters/json_filter.py +++ b/cinder/openstack/common/scheduler/filters/json_filter.py @@ -15,7 +15,7 @@ import operator -from oslo.serialization import jsonutils +from oslo_serialization import jsonutils import six from cinder.openstack.common.scheduler import filters