From c5f32cc849dd5cc0c820d0411d30eeca6cebf65f Mon Sep 17 00:00:00 2001 From: Oscar Date: Wed, 31 Dec 2025 20:21:45 -0500 Subject: [PATCH] Pin ruamel.yaml<0.19.0 for compatibility ruamel.yaml 0.19.0 (released 2025-12-31) introduced breaking changes to the max_depth API that cause 'Loader' object has no attribute 'max_depth' errors when using hyperpyyaml. This pins ruamel.yaml to <0.19.0 until the compatibility issue is resolved. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ff1cc2d..523c108 100644 --- a/setup.py +++ b/setup.py @@ -18,5 +18,5 @@ "License :: OSI Approved :: Apache Software License", ], packages=["hyperpyyaml"], - install_requires=["pyyaml>=5.1", "ruamel.yaml>=0.17.28"], + install_requires=["pyyaml>=5.1", "ruamel.yaml>=0.17.28,<0.19.0"], )