Merge pull request #54898 from matthewbauer/pyspark-fix
pyspark: 2.3.2 -> 2.4.0, fix version bounds
This commit is contained in:
commit
bdc7aabb2f
|
@ -2,16 +2,19 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyspark";
|
pname = "pyspark";
|
||||||
version = "2.3.2";
|
version = "2.4.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7fb3b4fe47edb0fb78cecec37e0f2a728590f17ef6a49eae55141a7a374c07c8";
|
sha256 = "1p7z5f1a20l7xkjkh88q9cvjw2x8jbrlydkycn5lh4qvx72vgmy9";
|
||||||
};
|
};
|
||||||
|
|
||||||
# pypandoc is broken with pandoc2, so we just lose docs.
|
# pypandoc is broken with pandoc2, so we just lose docs.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "s/'pypandoc'//" setup.py
|
sed -i "s/'pypandoc'//" setup.py
|
||||||
|
|
||||||
|
# Current release works fine with py4j 0.10.8.1
|
||||||
|
substituteInPlace setup.py --replace py4j==0.10.7 'py4j>=0.10.7,<0.11'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ py4j ];
|
propagatedBuildInputs = [ py4j ];
|
||||||
|
|
Loading…
Reference in New Issue