From 43505bb975f46ce4e140fdaf55192611d6e231ac Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Thu, 9 Oct 2025 07:01:57 -0700 Subject: [PATCH] Pin pydantic<2.12 in ci/test_cudf_polars_polars_tests.sh (#20209) ## Description Same change applied in https://github.com/rapidsai/cudf/pull/20200 for 25.10 ## Checklist - [ ] I am familiar with the [Contributing Guidelines](https://github.com/rapidsai/cudf/blob/HEAD/CONTRIBUTING.md). - [ ] New or existing tests cover these changes. - [ ] The documentation is up to date with these changes. --- ci/test_cudf_polars_polars_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/test_cudf_polars_polars_tests.sh b/ci/test_cudf_polars_polars_tests.sh index 7c917c214b4..52ed456dc42 100755 --- a/ci/test_cudf_polars_polars_tests.sh +++ b/ci/test_cudf_polars_polars_tests.sh @@ -33,6 +33,9 @@ sed -i '/^polars-cloud$/d' polars/py-polars/requirements-dev.txt # Deltalake release 1.0.0 contains breaking changes for Polars. So we're adding an upper pinning temporarily # until things get resolved. Tracking Issue: https://github.com/pola-rs/polars/issues/22999 sed -i 's/^deltalake>=0.15.0.*/deltalake>=0.15.0,<1.0.0/' polars/py-polars/requirements-dev.txt +# pyiceberg depends on a non-documented attribute of pydantic. +# AttributeError: 'pydantic_core._pydantic_core.ValidationInfo' object has no attribute 'current_schema_id' +sed -i 's/^pydantic>=2.0.0.*/pydantic>=2.0.0,<2.12.0/' polars/py-polars/requirements-dev.txt rapids-pip-retry install -r polars/py-polars/requirements-dev.txt -r polars/py-polars/requirements-ci.txt # shellcheck disable=SC2317