From b735be7c4e5f920b3a538f6e31e0a0ba8b2799ab Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Sun, 18 Sep 2022 14:01:26 +0200 Subject: [PATCH] refactor[python]: revert decompress-fast for python (#4894) --- py-polars/Cargo.lock | 24 +++++------------------- py-polars/Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/py-polars/Cargo.lock b/py-polars/Cargo.lock index 0065689d3418..52ae01f60813 100644 --- a/py-polars/Cargo.lock +++ b/py-polars/Cargo.lock @@ -291,14 +291,6 @@ dependencies = [ "phf_codegen", ] -[[package]] -name = "cmake" -version = "0.1.48" -source = "git+https://github.com/messense/cmake-rs.git?branch=cross-compile#15ab68baca7c44bcf23c5d91a4201f10d40552a1" -dependencies = [ - "cc", -] - [[package]] name = "comfy-table" version = "5.0.1" @@ -481,7 +473,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6" dependencies = [ "crc32fast", - "libz-ng-sys", "miniz_oxide", ] @@ -902,16 +893,6 @@ dependencies = [ "cc", ] -[[package]] -name = "libz-ng-sys" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4399ae96a9966bf581e726de86969f803a81b7ce795fcd5480e640589457e0f2" -dependencies = [ - "cmake", - "libc", -] - [[package]] name = "lock_api" version = "0.4.8" @@ -2074,3 +2055,8 @@ dependencies = [ "cc", "libc", ] + +[[patch.unused]] +name = "cmake" +version = "0.1.48" +source = "git+https://github.com/messense/cmake-rs.git?branch=cross-compile#15ab68baca7c44bcf23c5d91a4201f10d40552a1" diff --git a/py-polars/Cargo.toml b/py-polars/Cargo.toml index 0a45d1bc5963..d1415858fd1b 100644 --- a/py-polars/Cargo.toml +++ b/py-polars/Cargo.toml @@ -51,7 +51,7 @@ repeat_by = ["polars/repeat_by"] simd = ["polars/simd"] meta = ["polars/meta"] search_sorted = ["polars/search_sorted"] -decompress-fast = ["polars/decompress-fast"] +decompress = ["polars/decompress"] lazy_regex = ["polars/lazy_regex"] csv-file = ["polars/csv-file"] object = ["polars/object"] @@ -73,7 +73,7 @@ all = [ "pct_change", "search_sorted", "meta", - "decompress-fast", + "decompress", "lazy_regex", "csv-file", "extract_jsonpath",