From 1d1dee93828de030633eadc71f453e30914b53b3 Mon Sep 17 00:00:00 2001 From: adrinjalali Date: Mon, 5 Feb 2024 14:39:57 +0100 Subject: [PATCH 1/4] MNT ignore pandas warning --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f524292f..c48e3647 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,8 @@ filterwarnings = [ "ignore:\\w+ is deprecated. Use files\\(\\) instead:DeprecationWarning", # comes from fairlearn "ignore:DataFrame.applymap has been deprecated. Use DataFrame.map instead:FutureWarning", + # Ignore Pandas 2.2 warning on PyArrow. It might be reverted in a later release. + "ignore:\s*Pyarrow will become a required dependency of pandas.*:DeprecationWarning", ] markers = [ "network: marks tests as requiring internet (deselect with '-m \"not network\"')", From 6e791cead419fe81fd6f9c443d3bc22475ebb7c0 Mon Sep 17 00:00:00 2001 From: adrinjalali Date: Mon, 5 Feb 2024 14:51:17 +0100 Subject: [PATCH 2/4] fix regex --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c48e3647..8ba35549 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ filterwarnings = [ # comes from fairlearn "ignore:DataFrame.applymap has been deprecated. Use DataFrame.map instead:FutureWarning", # Ignore Pandas 2.2 warning on PyArrow. It might be reverted in a later release. - "ignore:\s*Pyarrow will become a required dependency of pandas.*:DeprecationWarning", + "ignore:\\s*Pyarrow will become a required dependency of pandas.*:DeprecationWarning", ] markers = [ "network: marks tests as requiring internet (deselect with '-m \"not network\"')", From 7857de156ffa081f5b1f51d9bb757e0f2531ac2d Mon Sep 17 00:00:00 2001 From: adrinjalali Date: Mon, 5 Feb 2024 14:54:59 +0100 Subject: [PATCH 3/4] trigger ci From b7beb3d061272243aaf2564276d4e328efcde504 Mon Sep 17 00:00:00 2001 From: adrinjalali Date: Tue, 6 Feb 2024 09:58:40 +0100 Subject: [PATCH 4/4] MNT ignore fairlearn's warning --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 8ba35549..f697b327 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ filterwarnings = [ "ignore:\\w+ is deprecated. Use files\\(\\) instead:DeprecationWarning", # comes from fairlearn "ignore:DataFrame.applymap has been deprecated. Use DataFrame.map instead:FutureWarning", + "ignore:DataFrameGroupBy.apply operated on the grouping columns.:DeprecationWarning", # Ignore Pandas 2.2 warning on PyArrow. It might be reverted in a later release. "ignore:\\s*Pyarrow will become a required dependency of pandas.*:DeprecationWarning", ]