Skip to content

Commit

Permalink
setup: pin ruamel.yaml to <0.18
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
lathiat committed Oct 24, 2023
1 parent 325b4d5 commit 7ae8fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7ae8fa3

Please sign in to comment.