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

This commit is contained in:
annalee 2023-11-22 21:47:44 +00:00 committed by Yt
parent 82130b577e
commit 9c05037545
2 changed files with 0 additions and 20 deletions

View file

@ -1,13 +0,0 @@
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"))]

View file

@ -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