[py-smart-open] fixing dependencies (#17640)

* version 1.8.4 requires py-boto at 2.3.2:
* google-cloud-storage only in newer versions
This commit is contained in:
Jen Herting 2020-08-04 19:44:30 -04:00 committed by GitHub
parent 118948cb0a
commit 96f5075eb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))