Reviewed: https://review.openstack.org/147215 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7a2a85623da4d296c5dfe5dc8b6fdb772d74ce92 Submitter: Jenkins Branch: master
commit 7a2a85623da4d296c5dfe5dc8b6fdb772d74ce92 Author: Ihar Hrachyshka <email address hidden> Date: Thu Jan 8 17:25:23 2015 +0100
oslo: migrate to namespace-less import paths
Oslo project decided to move away from using oslo.* namespace for all their libraries [1], so we should migrate to new import path.
This patch applies new paths for: - oslo.config - oslo.db - oslo.i18n - oslo.messaging - oslo.middleware - oslo.rootwrap - oslo.serialization - oslo.utils
Added hacking check to enforce new import paths for all oslo libraries.
Updated setup.cfg entry points.
We'll cleanup old imports from oslo-incubator modules on demand or if/when oslo officially deprecates old namespace in one of the next cycles.
[1]: https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages
Depends-On: https://review.openstack.org/#/c/147248/ Depends-On: https://review.openstack.org/#/c/152292/ Depends-On: https://review.openstack.org/#/c/147240/
Closes-Bug: #1409733 Change-Id: If0dce29a0980206ace9866112be529436194d47e
Reviewed: https:/ /review. openstack. org/147215 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7a2a85623da 4d296c5dfe5dc8b 6fdb772d74ce92
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7a2a85623da4d29 6c5dfe5dc8b6fdb 772d74ce92
Author: Ihar Hrachyshka <email address hidden>
Date: Thu Jan 8 17:25:23 2015 +0100
oslo: migrate to namespace-less import paths
Oslo project decided to move away from using oslo.* namespace for all their
libraries [1], so we should migrate to new import path.
This patch applies new paths for:
- oslo.config
- oslo.db
- oslo.i18n
- oslo.messaging
- oslo.middleware
- oslo.rootwrap
- oslo.serialization
- oslo.utils
Added hacking check to enforce new import paths for all oslo libraries.
Updated setup.cfg entry points.
We'll cleanup old imports from oslo-incubator modules on demand or
if/when oslo officially deprecates old namespace in one of the next
cycles.
[1]: https:/ /blueprints. launchpad. net/oslo- incubator/ +spec/drop- namespace- packages
Depends-On: https:/ /review. openstack. org/#/c/ 147248/ /review. openstack. org/#/c/ 152292/ /review. openstack. org/#/c/ 147240/
Depends-On: https:/
Depends-On: https:/
Closes-Bug: #1409733 6ace9866112be52 9436194d47e
Change-Id: If0dce29a098020