From 29e3cb93664af4791eb6f9041faeb63a1f3dee7d Mon Sep 17 00:00:00 2001 From: Nathan Farmer Date: Thu, 15 Feb 2024 14:44:47 -0500 Subject: [PATCH 1/2] Ignore warning --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9267a804554e..1bb26cd10042 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -447,6 +447,9 @@ filterwarnings = [ 'ignore: Returning a DataFrame from Series.apply when the supplied function returns a Series is deprecated and will be removed in a future version.', # Example Actual Warning: FutureWarning: In a future version of pandas, parsing datetimes with mixed time zones will raise an error unless `utc=True`. Please specify `utc=True` to opt in to the new behaviour and silence this warning. To create a `Series` with mixed offsets and `object` dtype, please use `apply` and `datetime.datetime.strptime` 'ignore: In a future version of pandas, parsing datetimes with mixed time zones will raise an error:FutureWarning', + # Example Actual Warning: test_cli_datasource_new_from_misc_directory - DeprecationWarning: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead. + # This is a legacy pattern that will be removed from GX + 'ignore: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead.:DeprecationWarning', # numpy # Example Actual Warning: RuntimeWarning: Mean of empty slice. From f91f506a6694ef8d9502fcdf14b8d7bec3a1ea33 Mon Sep 17 00:00:00 2001 From: Nathan Farmer Date: Thu, 15 Feb 2024 14:45:38 -0500 Subject: [PATCH 2/2] Copy/paste error --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1bb26cd10042..1bb0ceeeb464 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -447,7 +447,7 @@ filterwarnings = [ 'ignore: Returning a DataFrame from Series.apply when the supplied function returns a Series is deprecated and will be removed in a future version.', # Example Actual Warning: FutureWarning: In a future version of pandas, parsing datetimes with mixed time zones will raise an error unless `utc=True`. Please specify `utc=True` to opt in to the new behaviour and silence this warning. To create a `Series` with mixed offsets and `object` dtype, please use `apply` and `datetime.datetime.strptime` 'ignore: In a future version of pandas, parsing datetimes with mixed time zones will raise an error:FutureWarning', - # Example Actual Warning: test_cli_datasource_new_from_misc_directory - DeprecationWarning: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead. + # Example Actual Warning: DeprecationWarning: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead. # This is a legacy pattern that will be removed from GX 'ignore: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead.:DeprecationWarning',