Commit 8e3adbd6 authored by annalee's avatar annalee Committed by Yt
Browse files

python311Packages.polars: remove patch for rustc < 1.73; fix build

(cherry picked from commit ea4c2e92bcdd19d2df5490d441f11141e3e98b29)
parent 63eb681a
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
diff --git a/crates/polars-lazy/src/frame/mod.rs b/crates/polars-lazy/src/frame/mod.rs
index 2d2ede651..be24b8809 100644
--- a/crates/polars-lazy/src/frame/mod.rs
+++ b/crates/polars-lazy/src/frame/mod.rs
@@ -25,7 +25,7 @@ pub use parquet::*;
 use polars_core::frame::explode::MeltArgs;
 use polars_core::prelude::*;
 use polars_io::RowCount;
-use polars_plan::dsl::all_horizontal;
+use polars_plan::dsl::functions::all_horizontal;
 pub use polars_plan::frame::{AllowedOptimizations, OptState};
 use polars_plan::global::FETCH_ROWS;
 #[cfg(any(feature = "ipc", feature = "parquet", feature = "csv"))]
+0 −7
Original line number Diff line number Diff line
@@ -32,13 +32,6 @@ buildPythonPackage {
  disabled = pythonOlder "3.6";
  src = rootSource;

  patches = [
    # workaround for apparent rustc bug
    # remove when we're at Rust 1.73
    # https://github.com/pola-rs/polars/issues/12050
    ./all_horizontal.patch
  ];

  # Cargo.lock file is sometimes behind actual release which throws an error,
  # thus the `sed` command
  # Make sure to check that the right substitutions are made when updating the package