From 67ebf60214dc3fb4c551ed6c779a1a02534e17e2 Mon Sep 17 00:00:00 2001 From: Jan Vlcinsky Date: Sun, 1 Apr 2018 00:10:51 +0200 Subject: [PATCH] Remove probably obsolete requirement for ruamel.yaml See issue #134 --- Pipfile | 1 - maya/core.py | 6 ------ setup.py | 1 - 3 files changed, 8 deletions(-) diff --git a/Pipfile b/Pipfile index 730aa66..d98bde8 100644 --- a/Pipfile +++ b/Pipfile @@ -7,7 +7,6 @@ sphinx = "*" humanize = "*" pytz = "*" dateparser = "*" -"ruamel.yaml" = "*" 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..d93d3ad 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,6 @@ 'humanize', 'pytz', 'dateparser', - 'ruamel.yaml', 'tzlocal', 'pendulum', 'snaptime'