1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Merge pull request #54898 from matthewbauer/pyspark-fix

pyspark: 2.3.2 -> 2.4.0, fix version bounds
This commit is contained in:
Matthew Bauer 2019-01-30 13:30:34 -05:00 committed by GitHub
commit bdc7aabb2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];