Merge "Deprecated the yamlutils module."

This commit is contained in:
Zuul 2020-02-17 10:15:07 +00:00 committed by Gerrit Code Review
commit 301b0cb54c
2 changed files with 8 additions and 0 deletions

View File

@ -18,9 +18,16 @@ of yaml manager in all the openstack projects.
Use this module inside openstack projects to handle yaml securely and properly. Use this module inside openstack projects to handle yaml securely and properly.
""" """
from debtcollector import removals
import yaml import yaml
removals.removed_module(
'oslo_serialization.yamlutils', version='3.0.0',
removal_version='4.0.0',
message='The oslo_serialization.yamlutils will be removed')
def load(stream, is_safe=True): def load(stream, is_safe=True):
"""Converts a YAML document to a Python object. """Converts a YAML document to a Python object.

View File

@ -13,3 +13,4 @@ msgpack>=0.5.2 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0
pytz>=2013.6 # MIT pytz>=2013.6 # MIT
PyYAML>=3.12 # MIT PyYAML>=3.12 # MIT
debtcollector>=1.2.0 # Apache-2.0