Skip to content

Commit

Permalink
[MAINTENANCE] Ignore Pandas DeprecationWarning for legacy `Pandas…
Browse files Browse the repository at this point in the history
…Dataset` (#9471)
  • Loading branch information
NathanFarmer committed Feb 15, 2024
1 parent 93f50b5 commit af4d58a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,11 @@ filterwarnings = [
# Example Actual Warning: UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
# Found when runing pytest tests/test_definitions/test_expectations_v3_api.py
'ignore: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection:UserWarning',
# 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: 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.
Expand Down

0 comments on commit af4d58a

Please sign in to comment.