Skip to content

Commit

Permalink
chore(dev-deps): support pyspark in nix
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 2, 2024
1 parent 2d3d719 commit f8bea7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
# necessary for quarto and quartodoc
export PYTHONPATH=''${PWD}''${PYTHONPATH:+:}''${PYTHONPATH}:''${PWD}/docs
export PYSPARK_PYTHON="$(which python)"
'';

preCommitDeps = with pkgs; [
Expand Down
2 changes: 2 additions & 0 deletions nix/ibis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
, ibisTestingData
}:
let
# pyspark could be added here, but it doesn't handle parallel test execution
# well and serially it takes on the order of 7-8 minutes to execute serially
backends = [ "datafusion" "duckdb" "pandas" "polars" "sqlite" ]
# dask version has a show-stopping bug for Python >=3.11
++ lib.optionals (python3.pythonOlder "3.11") [ "dask" ];
Expand Down

0 comments on commit f8bea7e

Please sign in to comment.