Skip to content

Commit

Permalink
Update moto[s3] requirement from <5,>=4.0.1 to >=4.0.1,<6 (#3516)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bigning <ning.wang@databricks.com>
  • Loading branch information
dependabot[bot] and bigning authored Aug 9, 2024
1 parent e9aee74 commit 88caae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def package_files(prefix: str, directory: str, extension: str):
'pandoc==2.3',
'pypandoc==1.13',
'GitPython==3.1.43',
'moto[s3]>=4.0.1,<5',
'moto[s3]>=5.0.1,<6',
'mock-ssh-server==0.9.1',
'cryptography==42.0.8',
'pytest-httpserver>=1.0.4,<1.1',
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/object_store/object_store_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_object_store_ctx(
monkeypatch.setenv('AWS_SECURITY_TOKEN', 'testing')
monkeypatch.setenv('AWS_SESSION_TOKEN', 'testing')
monkeypatch.setenv('AWS_DEFAULT_REGION', 'us-east-1')
with moto.mock_s3():
with moto.mock_aws():
# create the dummy bucket
s3 = boto3.client('s3')
s3.create_bucket(Bucket=object_store_kwargs['bucket'])
Expand Down

0 comments on commit 88caae9

Please sign in to comment.