Unverified Commit 36a20412 authored by a-n-n-a-l-e-e's avatar a-n-n-a-l-e-e Committed by GitHub
Browse files

Merge pull request #289323 from ElleNajt/update-datafusion

python3Packages.datafusion: 25.0.0 -> 35.0.0
parents 8c826e35 8ff37e16
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
, protobuf
, pyarrow
, Security
, SystemConfiguration
}:

let
@@ -31,7 +32,7 @@ in

buildPythonPackage rec {
  pname = "datafusion";
  version = "25.0.0";
  version = "35.0.0";
  format = "pyproject";

  src = fetchFromGitHub {
@@ -39,13 +40,13 @@ buildPythonPackage rec {
    owner = "apache";
    repo = "arrow-datafusion-python";
    rev = "refs/tags/${version}";
    hash = "sha256-oC+fp41a9rsdobpvShZ7sDdtYPJQQ7JLg6MFL+4Pksg=";
    hash = "sha256-43XY7j/8x+7SCY4W8nysaeWax2nvTTHZXMmy3hSz6pI=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    name = "datafusion-cargo-deps";
    inherit src pname version;
    hash = "sha256-0e0ZRgwcS/46mi4c2loAnBA2bsaD+/RiMh7oNg3EvHY=";
    hash = "sha256-YWAyEMojw0bc/fu5kIZKMNPEgsAIpWqjVNodWXbgTl4=";
  };

  nativeBuildInputs = with rustPlatform; [
@@ -53,7 +54,11 @@ buildPythonPackage rec {
    maturinBuildHook
  ];

  buildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
  buildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [
    libiconv
    Security
    SystemConfiguration
  ];

  propagatedBuildInputs = [ pyarrow ];

+1 −1
Original line number Diff line number Diff line
@@ -2669,7 +2669,7 @@ self: super: with self; {
  datadog = callPackage ../development/python-modules/datadog { };
  datafusion = callPackage ../development/python-modules/datafusion {
    inherit (pkgs.darwin.apple_sdk.frameworks) Security;
    inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration;
  };
  datamodeldict = callPackage ../development/python-modules/datamodeldict { };