Graduating oslo.utils

https://blueprints.launchpad.net/oslo.utils/+spec/graduate-oslo-utils

Every project has one. oslo.utils is our “grab-bag” library, made up of little modules with few dependencies that are too small to warrant release management on their own.

Library Name

oslo.utils

Contents

  • openstack/common/excutils.py

  • openstack/common/importutils.py

  • openstack/common/network_utils.py -> openstack/common/netutils.py

  • openstack/common/timeutils.py

  • openstack/common/strutils.py

  • openstack/common/units.py

  • tests/unit/test_excutils.py

  • tests/unit/test_importutils.py

  • tests/unit/test_netutils.py

  • tests/unit/test_timeutils.py

  • tests/unit/test_strutils.py

  • tests/unit/test_units.py

Early Adopters

None

Implementation

Assignee(s)

Primary assignee:

dims

Other contributors:

doug-hellmann flaper87

Primary Maintainer

Primary Maintainer:

dims

Other Contributors:

doug-hellmann flaper87

Security Contact

Security Contact:

dims

Milestones

Target Milestone for completion: Juno-2

Work Items

Adoption Notes

The copy of importutils we are releasing in this library will only have the function try_import() in its public API. Use of the other functions for actually importing modules and classes is deprecated, and should be replaced with stevedore. We are leaving the current importutils.py in the incubator untouched to ease that transition.

No API changes are anticipated for the other modules, so it should just be a matter of updating the import statements.

Dependencies

References

Note

This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode