From 64dc56cf3604d0f97542e71b07646ed31069a9eb Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 17 Feb 2022 07:12:13 -0500 Subject: [PATCH] python3Packages.pyarrow: add imports check --- pkgs/development/python-modules/pyarrow/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix index 4aa5c83ed681..d71fdf96a259 100644 --- a/pkgs/development/python-modules/pyarrow/default.nix +++ b/pkgs/development/python-modules/pyarrow/default.nix @@ -68,6 +68,17 @@ buildPythonPackage rec { mv tests pyarrow/tests ''; + pythonImportsCheck = map (module: "pyarrow.${module}") [ + "compute" + "csv" + "dataset" + "flight" + "fs" + "hdfs" + "json" + "parquet" + ]; + meta = with lib; { description = "A cross-language development platform for in-memory data"; homepage = "https://arrow.apache.org/";