From ffb86f0ab9c852dfe0f409465c9bca68415afd54 Mon Sep 17 00:00:00 2001 From: Anushya Muruganujan Date: Fri, 8 Sep 2023 10:12:19 -0700 Subject: [PATCH] For #844 Unpin pykwalify --- graphstore/rule-runner/setup.py | 2 +- scripts/combine-datasets-metadata.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphstore/rule-runner/setup.py b/graphstore/rule-runner/setup.py index bd481478c..fd1cf08cc 100644 --- a/graphstore/rule-runner/setup.py +++ b/graphstore/rule-runner/setup.py @@ -9,7 +9,7 @@ "click", "requests", "pyYaml", - "pykwalify==1.6.0", + "pykwalify", "SPARQLWrapper", "yamldown", "rdflib" diff --git a/scripts/combine-datasets-metadata.py b/scripts/combine-datasets-metadata.py index 0f926c480..daf73fc29 100755 --- a/scripts/combine-datasets-metadata.py +++ b/scripts/combine-datasets-metadata.py @@ -17,7 +17,7 @@ def main(): datasets = [] for fn in args.files: f = open(fn, 'r') - obj = yaml.load(f) + obj = yaml.safe_load(f) datasets.extend(obj['datasets']) f.close() print(dumps(datasets, sort_keys=True, indent=4, separators=(',', ': ')))