From c46d38feb041731a0c7946873bc4f99ce632eea1 Mon Sep 17 00:00:00 2001 From: blag Date: Tue, 26 Feb 2019 18:55:02 -0800 Subject: [PATCH 1/2] Use 'yaml.safe_load instead of the unsafe yaml.load to silence warnings during CI checks --- .circle/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circle/validate.py b/.circle/validate.py index a355d28d..db453644 100644 --- a/.circle/validate.py +++ b/.circle/validate.py @@ -27,7 +27,7 @@ def load_yaml_file(path): with open(path, 'r') as stream: - text = yaml.load(stream) + text = yaml.safe_load(stream) return text From 19ff437215c8ec23879a79ca9c1001784fab8cdc Mon Sep 17 00:00:00 2001 From: blag Date: Tue, 26 Feb 2019 22:38:10 -0800 Subject: [PATCH 2/2] Expand mock dependency version requirements --- .circle/requirements-pack-tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circle/requirements-pack-tests.txt b/.circle/requirements-pack-tests.txt index 5a6c4615..84bf40d6 100644 --- a/.circle/requirements-pack-tests.txt +++ b/.circle/requirements-pack-tests.txt @@ -1,4 +1,4 @@ -mock>=1.3.0,<2.0 +mock>=1.3.0,<2.1 unittest2>=1.1.0,<2.0 nose>=1.3.7 # temporary workaround for travis issue