From 7ae8fa36a3cb64437fd54adb77bcd904bed5ff99 Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Tue, 24 Oct 2023 04:02:29 +0000 Subject: [PATCH] setup: pin ruamel.yaml to <0.18 ruamel.yaml 0.18 hard deprecated the old PyYAML functions removing yaml.safe_load among many others. This causes charm-build to exit sometimes without a visible error. Fixes: #668 Reference: https://pypi.org/project/ruamel.yaml/0.18.0/ --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7826258..8b098ea 100755 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ 'blessings', 'ruamel.yaml<0.16.0;python_version < "3.7"', 'pathspec<=0.3.4;python_version < "3.7"', - 'ruamel.yaml;python_version >= "3.7"', + 'ruamel.yaml<0.18;python_version >= "3.7"', 'pathspec;python_version >= "3.7"', 'otherstuf<=1.1.0', 'path.py>=10.5',