Skip to content

Commit

Permalink
Update polars to 1.12.0 (#350)
Browse files Browse the repository at this point in the history
* upgrade polars to 1.12.0

* upperpin
  • Loading branch information
gladysteh99 authored Nov 5, 2024
1 parent 59275c9 commit 8e61522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ maintainers = [
{ name="Faisal Dosani", email="[email protected]" }
]
license = {text = "Apache Software License"}
dependencies = ["pandas<=2.2.3,>=0.25.0", "numpy<=2.1.2,>=1.22.0", "ordered-set<=4.1.0,>=4.0.2", "fugue<=0.9.1,>=0.8.7", "polars<=1.7.0,>=0.20.4"]
dependencies = ["pandas<=2.2.3,>=0.25.0", "numpy<=2.1.2,>=1.22.0", "ordered-set<=4.1.0,>=4.0.2", "fugue<=0.9.1,>=0.8.7", "polars<=1.12.0,>=0.20.4"]
requires-python = ">=3.9.0"
classifiers = [
"Intended Audience :: Developers",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def test_compare_df_setter_bad():
with raises(ValueError, match="df1 must have all columns from join_columns"):
PolarsCompare(df, df.clone(), ["b"])
with raises(
DuplicateError, match="column with name 'a' has more than one occurrences"
DuplicateError, match="column with name 'a' has more than one occurrence"
):
PolarsCompare(df_same_col_names, df_same_col_names.clone(), ["a"])
assert PolarsCompare(df_dupe, df_dupe.clone(), ["a", "b"]).df1.equals(df_dupe)
Expand Down Expand Up @@ -419,7 +419,7 @@ def test_compare_df_setter_bad_index():
with raises(TypeError, match="df1 must be a Polars DataFrame"):
PolarsCompare("a", "a", join_columns="a")
with raises(
DuplicateError, match="column with name 'a' has more than one occurrences"
DuplicateError, match="column with name 'a' has more than one occurrence"
):
PolarsCompare(df, df.clone(), join_columns="a")

Expand Down

0 comments on commit 8e61522

Please sign in to comment.