diff options
Diffstat (limited to 'misc/py-polars/files/patch-Cargo.toml')
-rw-r--r-- | misc/py-polars/files/patch-Cargo.toml | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/misc/py-polars/files/patch-Cargo.toml b/misc/py-polars/files/patch-Cargo.toml index d17af8031b02..81fc256f2e4b 100644 --- a/misc/py-polars/files/patch-Cargo.toml +++ b/misc/py-polars/files/patch-Cargo.toml @@ -1,30 +1,21 @@ ---- Cargo.toml.orig 2024-10-01 17:57:04 UTC +--- Cargo.toml.orig 2025-04-30 19:44:53 UTC +++ Cargo.toml -@@ -8,22 +8,13 @@ crate-type = ["cdylib"] - crate-type = ["cdylib"] +@@ -17,14 +17,6 @@ mimalloc = { version = "0.1", default-features = false + [target.'cfg(all(any(not(target_family = "unix"), target_os = "emscripten", allocator = "mimalloc"), not(allocator = "default")))'.dependencies] + mimalloc = { version = "0.1", default-features = false } - [dependencies] -+mimalloc = { version = "0.1", default-features = false } - libc = { workspace = true } - # Explicit dependency is needed to add bigidx in CI during release - polars = { workspace = true } - polars-python = { workspace = true, features = ["pymethods", "iejoin"] } - pyo3 = { workspace = true, features = ["abi3-py39", "chrono", "extension-module", "multiple-pymethods"] } - --[target.'cfg(all(any(not(target_family = "unix"), allocator = "mimalloc"), not(allocator = "default")))'.dependencies] --mimalloc = { version = "0.1", default-features = false } -- -# Feature background_threads is unsupported on MacOS (https://github.com/jemalloc/jemalloc/issues/843). --[target.'cfg(all(target_family = "unix", not(target_os = "macos"), not(allocator = "mimalloc"), not(allocator = "default")))'.dependencies] --jemallocator = { version = "0.5", features = ["disable_initial_exec_tls", "background_threads"] } +-[target.'cfg(all(target_family = "unix", not(target_os = "macos"), not(target_os = "emscripten"), not(allocator = "mimalloc"), not(allocator = "default")))'.dependencies] +-tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls", "background_threads"] } - -[target.'cfg(all(target_family = "unix", target_os = "macos", not(allocator = "mimalloc"), not(allocator = "default")))'.dependencies] --jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] } +-tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls"] } +-either = { workspace = true } - [features] # Features used in this crate ffi_plugin = ["polars-python/ffi_plugin"] -@@ -107,3 +98,7 @@ default = ["all", "nightly"] +@@ -111,3 +103,8 @@ default = ["all", "nightly"] ] default = ["all", "nightly"] @@ -32,3 +23,4 @@ +[profile.release] +opt-level = 2 +debug = false ++strip = "symbols" |