Skip to content

Commit 4cbdab0

Browse files
committed
setup: Bump min ruamel.yaml version to 0.15
1 parent b360968 commit 4cbdab0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pybombs/config_file.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ def __init__(self):
4848
self._load = self.yaml.load
4949
self._dump = self.yaml.dump
5050
else:
51-
self.yaml = yaml
52-
self._load = self.yaml.round_trip_load
53-
self._dump = self.yaml.round_trip_dump
51+
raise AssertionError("Invalid ruamel.yaml version")
5452

5553
def load(self, fd):
5654
"""Load contents of a file descriptor and return a dictionary."""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"requests",
9898
"six",
9999
"future",
100-
"ruamel.yaml"
100+
"ruamel.yaml >= 0.15.0",
101101
]
102102

103103
setup(

0 commit comments

Comments
 (0)