Skip to content

Commit fbb7918

Browse files
authored
Temporarily pin polars due to test failure in CI (#2011)
Signed-off-by: Deepyaman Datta <[email protected]>
1 parent 5fdd8eb commit fbb7918

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

noxfile.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ def _testing_requirements(
152152
if req.startswith("numpy") and _numpy is not None:
153153
print("adding numpy constraint <2")
154154
req = f"{req}, {_numpy}"
155-
if (
156-
req == "polars"
157-
or req.startswith("polars ")
158-
and sys.platform == "darwin"
159-
):
160-
req = "polars-lts-cpu"
155+
if req == "polars" or req.startswith("polars "):
156+
# TODO(deepyaman): Support latest Polars.
157+
if sys.platform == "darwin":
158+
req = "polars-lts-cpu < 1.30.0"
159+
else:
160+
req = "polars < 1.30.0"
161161
# for some reason uv will try to install an old version of dask,
162162
# have to specifically pin dask[dataframe] to a higher version
163163
if (

0 commit comments

Comments
 (0)