diff --git a/pyproject.toml b/pyproject.toml index b267afb3c..e0a0a4da1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,8 @@ dependencies = [ "marshmallow~=3.13.0", "pywin32 ; platform_system=='Windows'", "pytoml", - "PyYAML~=5.3", + "PyYAML~=5.3 ; python_version<='3.9'", + "PyYAML~=6.0.1 ; python_version>='3.10'", "requests~=2.27", "toml==0.10.0", "typing-inspect==0.8.0",