Skip to content

Commit

Permalink
Remove probably obsolete requirement for ruamel.yaml (#136)
Browse files Browse the repository at this point in the history
* Remove probably obsolete requirement for ruamel.yaml

Closes issue #134

* require dateparser>=0.7.0 (to ensure ruamel.yaml is not really needed)
  • Loading branch information
vlcinsky authored and timofurrer committed Apr 4, 2018
1 parent bd34915 commit e0e33cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ sphinx = "*"
[packages]
humanize = "*"
pytz = "*"
dateparser = "*"
"ruamel.yaml" = "*"
dateparser = ">=0.7.0"
tzlocal = "*"
pendulum = ">=1.0"
snaptime = "*"
6 changes: 0 additions & 6 deletions maya/core.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
required = [
'humanize',
'pytz',
'dateparser',
'ruamel.yaml',
'dateparser>=0.7.0',
'tzlocal',
'pendulum',
'snaptime'
Expand Down

0 comments on commit e0e33cc

Please sign in to comment.