python310Packages.pyspark: 3.3.0 -> 3.3.1

This commit is contained in:
Fabian Affolter 2022-10-28 13:42:00 +02:00
parent 52b1e28293
commit f58d434f56

View File

@ -1,16 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, py4j
, pyarrow
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyspark";
version = "3.3.0";
version = "3.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fr6OlQVke00STVqC/KYN/TiRAhz4rWxeyId37uzpLPc=";
hash = "sha256-6Z+n3pK+QGiEv9gxwyuTBqOpneRM/Dmi7vtu0HRF1fo=";
};
# pypandoc is broken with pandoc2, so we just lose docs.
@ -25,6 +32,20 @@ buildPythonPackage rec {
py4j
];
passthru.optional-dependencies = {
ml = [
numpy
];
mllib = [
numpy
];
sql = [
numpy
pandas
pyarrow
];
};
# Tests assume running spark instance
doCheck = false;
@ -40,6 +61,6 @@ buildPythonPackage rec {
binaryBytecode
];
license = licenses.asl20;
maintainers = [ maintainers.shlevy ];
maintainers = with maintainers; [ shlevy ];
};
}