diff --git a/openstack-common.conf b/openstack-common.conf index ff575821c..2e5002d95 100644 --- a/openstack-common.conf +++ b/openstack-common.conf @@ -1,7 +1,4 @@ [DEFAULT] -# The list of modules to copy from oslo-incubator.git -module=context - # The base module to hold the copy of openstack.common -base=oslo.messaging +base=oslo_messaging diff --git a/oslo_messaging/notify/middleware.py b/oslo_messaging/notify/middleware.py index 4297e2977..9c6c34294 100644 --- a/oslo_messaging/notify/middleware.py +++ b/oslo_messaging/notify/middleware.py @@ -22,6 +22,7 @@ import sys import traceback as tb from oslo_config import cfg +from oslo_context import context from oslo_middleware import base import six import webob.dec @@ -29,7 +30,6 @@ import webob.dec import oslo_messaging from oslo_messaging._i18n import _LE from oslo_messaging import notify -from oslo_messaging.openstack.common import context LOG = logging.getLogger(__name__) diff --git a/requirements-py3.txt b/requirements-py3.txt index 05cb05081..9b6d07acf 100644 --- a/requirements-py3.txt +++ b/requirements-py3.txt @@ -3,6 +3,7 @@ # process, which may cause wedges in the gate later. oslo.config>=1.9.0 # Apache-2.0 +oslo.context>=0.2.0 # Apache-2.0 oslo.serialization>=1.2.0 # Apache-2.0 oslo.utils>=1.2.0 # Apache-2.0 oslo.i18n>=1.3.0 # Apache-2.0 diff --git a/requirements.txt b/requirements.txt index 3b49a5351..5f0e49d33 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ pbr>=0.6,!=0.7,<1.0 oslo.config>=1.9.0 # Apache-2.0 +oslo.context>=0.2.0 # Apache-2.0 oslo.utils>=1.2.0 # Apache-2.0 oslo.serialization>=1.2.0 # Apache-2.0 oslo.i18n>=1.3.0 # Apache-2.0