diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index b95b72b82..b8fc03577 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -24,6 +24,7 @@ Release Notes * Documentation Changes * Added dask string storage note to "Other Limitations" in Dask documentation :pr:`1799` * Testing Changes + * moto >= 5.0.0 renamed ``mock_s3`` to ``mock_aws`` :pr:`1799` Thanks to the following people for contributing to this release: :user:`cp2boston`, :user:`gsheni` diff --git a/pyproject.toml b/pyproject.toml index 6e977885e..c3fca7b59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ test = [ "pytest-cov >= 2.10.1", "pytest-xdist >= 2.1.0", "boto3 >= 1.10.45", - "moto[all] >= 3.0.7", + "moto[all] >= 5.0.0", "smart-open >= 5.0.0", "pyarrow >= 14.0.1" ] diff --git a/woodwork/tests/accessor/test_serialization.py b/woodwork/tests/accessor/test_serialization.py index 253bc753e..b007c540f 100644 --- a/woodwork/tests/accessor/test_serialization.py +++ b/woodwork/tests/accessor/test_serialization.py @@ -822,9 +822,9 @@ def test_categorical_dtype_serialization(serialize_df, tmpdir): def s3_client(): # TODO: Fix Moto tests needing to explicitly set permissions for objects _environ = os.environ.copy() - from moto import mock_s3 + from moto import mock_aws - with mock_s3(): + with mock_aws(): s3 = boto3.resource("s3") yield s3 os.environ.clear()