Skip to content

Commit

Permalink
Update moto requirement from ~=4.1.14 to ~=5.0.9 in /package (#1934)
Browse files Browse the repository at this point in the history
* Update moto requirement from ~=4.1.14 to ~=5.0.9 in /package

Updates the requirements on [moto](https://github.com/getmoto/moto) to permit the latest version.
- [Release notes](https://github.com/getmoto/moto/releases)
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)
- [Commits](getmoto/moto@4.1.14...5.0.9)

---
updated-dependencies:
- dependency-name: moto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix lint

Signed-off-by: ravi-kumar-pilla <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: ravi-kumar-pilla <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Huong Nguyen <[email protected]>
Co-authored-by: Ravi Kumar Pilla <[email protected]>
  • Loading branch information
3 people authored Jun 21, 2024
1 parent 8a53605 commit 4005b58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package/test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ flake8~=7.0
isort~=5.11
matplotlib~=3.5
mypy~=1.0
moto~=4.1.14
moto~=5.0.9
psutil==5.9.6 # same as Kedro for now
pylint~=3.0
pylint-pydantic>=0.3.0
Expand Down
4 changes: 2 additions & 2 deletions package/tests/test_integrations/test_sqlite_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import boto3
import pytest
from moto import mock_s3
from moto import mock_aws
from sqlalchemy import create_engine, func, select
from sqlalchemy.orm import sessionmaker

Expand Down Expand Up @@ -42,7 +42,7 @@ def aws_credentials():
@pytest.fixture(scope="class")
def mocked_s3_bucket(aws_credentials):
"""S3 Mock Client"""
with mock_s3():
with mock_aws():
conn = boto3.client("s3", region_name="us-east-1")
conn.create_bucket(Bucket=BUCKET_NAME)
yield conn
Expand Down

0 comments on commit 4005b58

Please sign in to comment.