Skip to content

Commit

Permalink
fix: cryo cli and python builds (#30)
Browse files Browse the repository at this point in the history
* fix: cryo cli build

* fix: python build

* chore: newline
  • Loading branch information
banteg committed Aug 17, 2023
1 parent b2c221a commit b5f7ee5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ color-print = "0.3.4"
ethers = "2.0.7"
hex = "0.4.3"
indicatif = "0.17.5"
polars = "0.30.0"
polars = "0.32.1"
tokio = "1.29.0"
cryo_freeze = { version = "0.2.0", path = "../freeze" }
colored = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/freeze/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ futures = "0.3.28"
governor = "0.5.1"
indexmap = "2.0.0"
indicatif = "0.17.5"
polars = { version = "0.30.0", features = ["parquet", "string_encoding", "polars-lazy", "lazy", "binary_encoding", "json", "dtype-struct"] }
polars = { version = "0.32.1", features = ["parquet", "string_encoding", "polars-lazy", "lazy", "binary_encoding", "json", "dtype-struct"] }
prefix-hex = "0.7.0"
serde = { version = "1.0.183", features = ["derive"] }
serde_json = "1.0.104"
Expand Down
2 changes: 1 addition & 1 deletion crates/freeze/src/types/dataframes/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ impl SortableDataFrame for Result<DataFrame, CollectError> {
fn sort_by_schema(self, schema: &Table) -> Self {
match (self, &schema.sort_columns) {
(Ok(df), Some(sort_columns)) => {
df.sort(sort_columns, false).map_err(CollectError::PolarsError)
df.sort(sort_columns, false, false).map_err(CollectError::PolarsError)
}
(df, _) => df,
}
Expand Down
9 changes: 4 additions & 5 deletions crates/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ crate-type = ["cdylib"]
[dependencies]
cryo_cli = { version = "0.2.0", path = "../cli" }
cryo_freeze = { version = "0.2.0", path = "../freeze" }
polars = { version = "0.30.0", features = ["parquet", "string_encoding", "polars-lazy", "lazy", "binary_encoding", "json", "dtype-struct"] }
pyo3 = { version = "0.18.0", features = ["extension-module"] }
pyo3-asyncio = { version = "0.18.0", features = ["tokio-runtime"] }
pyo3-polars = "0.4.0"
polars = { version = "0.32.1", features = ["parquet", "string_encoding", "polars-lazy", "lazy", "binary_encoding", "json", "dtype-struct"] }
pyo3 = { version = "0.19.2", features = ["extension-module"] }
pyo3-asyncio = { version = "0.19.0", features = ["tokio-runtime"] }
pyo3-polars = "0.6.0"
tokio = "1.29.0"

[build-dependencies]
pyo3-build-config = "0.18.0"

0 comments on commit b5f7ee5

Please sign in to comment.