summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-02-11 12:16:29 -0500
committerGitHub <noreply@github.com>2021-02-11 11:16:29 -0600
commitf7a05e0c61a4b9e84e0569c6344756bd77a2b428 (patch)
treea116a257c49a6580b4070a72449c8287d7bd0d98 /var
parent3d6e9e172d19b0cf837a8b619f2a9826d48813eb (diff)
downloadspack-f7a05e0c61a4b9e84e0569c6344756bd77a2b428.tar.gz
spack-f7a05e0c61a4b9e84e0569c6344756bd77a2b428.tar.bz2
spack-f7a05e0c61a4b9e84e0569c6344756bd77a2b428.tar.xz
spack-f7a05e0c61a4b9e84e0569c6344756bd77a2b428.zip
[py-pyspark] new version and limited python for old versions (#21602)
* fixed install with ver 3 and python 3.0 * replaced @3 with @2.999 * [py-pyspark] added version requirements for py-py4j * [py-pyspark] all versions require at least version 2.7 of python * [py-pyspark] fixed comma syntax Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyspark/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyspark/package.py b/var/spack/repos/builtin/packages/py-pyspark/package.py
index 1f2b46da15..1dfb3204c1 100644
--- a/var/spack/repos/builtin/packages/py-pyspark/package.py
+++ b/var/spack/repos/builtin/packages/py-pyspark/package.py
@@ -10,10 +10,15 @@ class PyPyspark(PythonPackage):
"""Python bindings for Apache Spark"""
homepage = "http://spark.apache.org"
- pypi = "pyspark/pyspark-2.3.0.tar.gz"
+ pypi = "pyspark/pyspark-3.0.1.tar.gz"
+ version('3.0.1', sha256='38b485d3634a86c9a2923c39c8f08f003fdd0e0a3d7f07114b2fb4392ce60479')
version('2.4.4', sha256='13655eb113b8cf5f3f85b24fd92f86c4668a723723bd68949d028fa0df2cf694')
version('2.3.0', sha256='0b3536910e154c36a94239f0ba0a201f476aadc72006409e5787198ffd01986e')
+ depends_on('python@2.7:3.7', when='@:2.999', type=('build', 'run'))
+ depends_on('python@2.7:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-py4j', type=('build', 'run'))
+ depends_on('py-py4j@0.10.9', when='@3.0.1', type=('build', 'run'))
+ depends_on('py-py4j@0.10.7', when='@2.4.4', type=('build', 'run'))
+ depends_on('py-py4j@0.10.6', when='@2.3.0', type=('build', 'run'))