diff --git a/Pipfile b/Pipfile index 730aa66..816c9f9 100644 --- a/Pipfile +++ b/Pipfile @@ -6,8 +6,7 @@ sphinx = "*" [packages] humanize = "*" pytz = "*" -dateparser = "*" -"ruamel.yaml" = "*" +dateparser = ">=0.7.0" tzlocal = "*" pendulum = ">=1.0" snaptime = "*" diff --git a/maya/core.py b/maya/core.py index c72e7ea..d1b25a0 100644 --- a/maya/core.py +++ b/maya/core.py @@ -1,12 +1,6 @@ # ___ __ ___ _ _ ___ # || \/ | ||=|| \\// ||=|| # || | || || // || || -# Ignore warnings for yaml usage. -import warnings -import ruamel.yaml - -warnings.simplefilter('ignore', ruamel.yaml.error.UnsafeLoaderWarning) - import email.utils import time import functools diff --git a/setup.py b/setup.py index 701f41b..cdccbad 100755 --- a/setup.py +++ b/setup.py @@ -23,8 +23,7 @@ required = [ 'humanize', 'pytz', - 'dateparser', - 'ruamel.yaml', + 'dateparser>=0.7.0', 'tzlocal', 'pendulum', 'snaptime'