summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2020-08-04 19:44:30 -0400
committerGitHub <noreply@github.com>2020-08-04 16:44:30 -0700
commit96f5075eb1458609852785a0b77ff9da4affda68 (patch)
tree403c5e7a65d0417723fb9ecb309c1815591f1f5c
parent118948cb0abd78cfca59799a48454a4cd9525a78 (diff)
downloadspack-96f5075eb1458609852785a0b77ff9da4affda68.tar.gz
spack-96f5075eb1458609852785a0b77ff9da4affda68.tar.bz2
spack-96f5075eb1458609852785a0b77ff9da4affda68.tar.xz
spack-96f5075eb1458609852785a0b77ff9da4affda68.zip
[py-smart-open] fixing dependencies (#17640)
* version 1.8.4 requires py-boto at 2.3.2: * google-cloud-storage only in newer versions
-rw-r--r--var/spack/repos/builtin/packages/py-smart-open/package.py3
1 files changed, 2 insertions, 1 deletions
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 fd2ed92ef2..f58683af38 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'))