Skip to content

Commit

Permalink
rust polars 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Oct 31, 2021
1 parent eb7cf5b commit 10bfa73
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 24 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Build and test

on:
- push
- pull_request
jobs:
test-rust:
Expand Down
13 changes: 8 additions & 5 deletions polars/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars"
version = "0.16.0"
version = "0.17.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -107,6 +107,7 @@ dtype-full = [
"dtype-i16",
"dtype-u8",
"dtype-u16",
"dtype-categorical",
]

# sensible minimal set of opt-in datatypes
Expand Down Expand Up @@ -160,13 +161,15 @@ docs-selection = [
"rolling_window",
"interpolate",
"diff",
"dtype-categorical"
"rank",
"list",
"arange"
]

[dependencies]
polars-core = {version = "0.16.0", path = "./polars-core", features= ["docs", "private"], default-features = false}
polars-io = {version = "0.16.0", path = "./polars-io", features = ["private"], default-features = false, optional=true}
polars-lazy = {version = "0.16.0", path = "./polars-lazy", features=["private"], default-features = false, optional=true}
polars-core = {version = "0.17.0", path = "./polars-core", features= ["docs", "private"], default-features = false}
polars-io = {version = "0.17.0", path = "./polars-io", features = ["private"], default-features = false, optional=true}
polars-lazy = {version = "0.17.0", path = "./polars-lazy", features=["private"], default-features = false, optional=true}

[dev-dependencies]
criterion = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion polars/polars-arrow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-arrow"
version = "0.16.0"
version = "0.17.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down
8 changes: 5 additions & 3 deletions polars/polars-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-core"
version = "0.16.0"
version = "0.17.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -120,14 +120,16 @@ docs-selection = [
"interpolate",
"diff",
"moment",
"dtype-categorical"
"dtype-categorical",
"rank",
"list",
]

[dependencies]
#arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "326fc9d89340ccd22cf0f981a98f56be582d8192", default-features = false, features=["compute"] }
#arrow = { package = "arrow2", git = "https://github.com/ritchie46/arrow2", default-features = false, features=["compute"], branch="dev" }
arrow = { package = "arrow2", version="0.7", default-features = false, features=["compute"]}
polars-arrow = {version = "0.16.0", path = "../polars-arrow"}
polars-arrow = {version = "0.17.0", path = "../polars-arrow"}
thiserror = "1.0"
num = "^0.4"
itertools = "0.10"
Expand Down
6 changes: 3 additions & 3 deletions polars/polars-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-io"
version = "0.16.0"
version = "0.17.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -32,8 +32,8 @@ private = []
#arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "326fc9d89340ccd22cf0f981a98f56be582d8192", default-features = false }
#arrow = { package = "arrow2", git = "https://github.com/ritchie46/arrow2", default-features = false, branch="dev"}
arrow = { package = "arrow2", version="0.7", --default-features=false }
polars-core = {version = "0.16.0", path = "../polars-core", features = ["private"], default-features=false}
polars-arrow = {version = "0.16.0", path = "../polars-arrow"}
polars-core = {version = "0.17.0", path = "../polars-core", features = ["private"], default-features=false}
polars-arrow = {version = "0.17.0", path = "../polars-arrow"}
lexical = {version = "6", optional = true, default-features=false, features = ["std", "parse-floats", "parse-integers"]}
num_cpus = "1.13.0"
csv-core = {version = "0.1.10", optional=true}
Expand Down
8 changes: 4 additions & 4 deletions polars/polars-lazy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-lazy"
version = "0.16.0"
version = "0.17.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -60,9 +60,9 @@ rayon = "1.5"
itertools = "0.10"
regex = {version = "1.4", optional = true}

polars-io = {version = "0.16.0", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features=false}
polars-core = {version = "0.16.0", path = "../polars-core", features = ["lazy", "private", "zip_with"], default-features=false}
polars-arrow = {version = "0.16.0", path = "../polars-arrow"}
polars-io = {version = "0.17.0", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features=false}
polars-core = {version = "0.17.0", path = "../polars-core", features = ["lazy", "private", "zip_with"], default-features=false}
polars-arrow = {version = "0.17.0", path = "../polars-arrow"}
# uncomment to have datafusion integration
# when uncommenting we both need to point to the same arrow version
# datafusion = {version="4.0.0-SNAPSHOT", git = "https://github.com/apache/arrow-datafusion", rev = "88222b7", default-features=false, optional=true}
Expand Down
2 changes: 0 additions & 2 deletions polars/polars-lazy/src/dsl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,6 @@ pub fn quantile(name: &str, quantile: f64) -> Expr {
}

/// Apply a closure on the two columns that are evaluated from `Expr` a and `Expr` b.
#[cfg(feature = "private")]
pub fn map_binary<F: 'static>(a: Expr, b: Expr, f: F, output_field: Option<Field>) -> Expr
where
F: Fn(Series, Series) -> Result<Series> + Send + Sync,
Expand All @@ -1748,7 +1747,6 @@ where
}

/// Binary function where the output type is determined at runtime when the schema is known.
#[cfg(feature = "private")]
pub fn map_binary_lazy_field<F: 'static, Fld: 'static>(
a: Expr,
b: Expr,
Expand Down
10 changes: 5 additions & 5 deletions py-polars/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 10bfa73

Please sign in to comment.