Skip to content

Commit c5f32cc

Browse files
committed
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.
1 parent a230105 commit c5f32cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
"License :: OSI Approved :: Apache Software License",
1919
],
2020
packages=["hyperpyyaml"],
21-
install_requires=["pyyaml>=5.1", "ruamel.yaml>=0.17.28"],
21+
install_requires=["pyyaml>=5.1", "ruamel.yaml>=0.17.28,<0.19.0"],
2222
)

0 commit comments

Comments
 (0)