diff --git a/setup.py b/setup.py
index 7826258..8b098ea 100755
--- a/setup.py
+++ b/setup.py
@@ -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',