Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
reweeden committed Oct 9, 2024
1 parent 8d88676 commit 0b540ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ xml = ["lxml"]

[tool.poetry.group.dev.dependencies]
boto3 = "^1.18"
moto = "^4.0.1"
moto = "^5.0.0"
pytest = "^8.0.2"
pytest-cov = "^4.0.0"
pytest-mock = "^3.8.2"
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import boto3
import pytest
from moto import mock_s3
from moto import mock_aws


@pytest.fixture
Expand All @@ -18,7 +18,7 @@ def aws_credentials():

@pytest.fixture
def s3_resource(aws_credentials):
with mock_s3():
with mock_aws():
yield boto3.resource("s3")


Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ python =
allowlist_externals = poetry
deps =
boto3~=1.18
moto~=4.0
pytest~=7.1
pytest-mock~=3.8.2
moto~=5.0
pytest~=8.1
pytest-mock~=3.8
jp14: jsonpath-ng~=1.4.0
jp15: jsonpath-ng~=1.5.0
jp16: jsonpath-ng~=1.6.0
# s3fs + moto breaks due to an issue with aiobotocore.
# https://github.com/aio-libs/aiobotocore/issues/755
s3fs~=0.4.2
extras =
Xnone:
Xall: all
Expand Down

0 comments on commit 0b540ec

Please sign in to comment.