mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
pyspark: 2.3.2 -> 2.4.0, fix version bounds
py4j seems to work fine with this version
This commit is contained in:
parent
82a1153d6d
commit
c0f82700ee
@ -2,16 +2,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyspark";
|
||||
version = "2.3.2";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7fb3b4fe47edb0fb78cecec37e0f2a728590f17ef6a49eae55141a7a374c07c8";
|
||||
sha256 = "1p7z5f1a20l7xkjkh88q9cvjw2x8jbrlydkycn5lh4qvx72vgmy9";
|
||||
};
|
||||
|
||||
# pypandoc is broken with pandoc2, so we just lose docs.
|
||||
postPatch = ''
|
||||
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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user