diff --git a/var/spack/repos/builtin/packages/py-smart-open/package.py b/var/spack/repos/builtin/packages/py-smart-open/package.py
index fd2ed92ef2b4be49e803ffc1e0b8417c4cecc80b..f58683af3843b078662975b884920c9f22f7c072 100644
--- a/var/spack/repos/builtin/packages/py-smart-open/package.py
+++ b/var/spack/repos/builtin/packages/py-smart-open/package.py
@@ -21,5 +21,6 @@ class PySmartOpen(PythonPackage):
     depends_on('py-setuptools', type='build')
     depends_on('py-requests', type=('build', 'run'))
     depends_on('py-boto3', type=('build', 'run'))
-    depends_on('py-google-cloud-storage', type=('build', 'run'))
+    depends_on('py-boto@2.3.2:', when='@1.8.4', type=('build', 'run'))
+    depends_on('py-google-cloud-storage', when='@1.10:', type=('build', 'run'))
     depends_on('py-bz2file', when='^python@:2', type=('build', 'run'))