From 7c741e5da7bf8f095fae8967735a2fa76d462465 Mon Sep 17 00:00:00 2001 From: Paul Morgan Date: Thu, 4 May 2023 17:47:21 +0000 Subject: [PATCH] constrain ruamel.yaml version for now From https://sourceforge.net/p/ruamel-yaml/code/ci/0.17.22/tree/CHANGES > plain scalars: put single words longer than width on a line of their own, > instead of after the previous line (issue 427, reported by Antoine Cotten). > Caveat: this currently results in a space ending the previous line. One of the side effects is that yamlfmt and yamllint become in conflict when using ruamel.yaml 0.17.22. Therefore constrain ruamel.yaml to be <= 0.17.21. Resolves https://github.com/jumanjihouse/pre-commit-hook-yamlfmt/issues/47 Related: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt/issues/49 Maybe related: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt/issues/48 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index add79b3..b01d3bf 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ version='0.0.0', install_requires=[ - 'ruamel.yaml>=0.16.10', + 'ruamel.yaml >=0.16.10, <=0.17.21', ], scripts=[