Skip to content

Commit

Permalink
Limit testing version mock<=4.0.2
Browse files Browse the repository at this point in the history
one of the old deps is triggering getmoto/moto#3535
  • Loading branch information
floatingatoll committed Nov 17, 2022
1 parent 58a1853 commit 10d3517
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions python-modules/cis_aws/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["jsonschema", "mock", "moto[dynamodb2,kinesis,sts]<2", "pytest", "pytest-watch", "pytest-cov",
"flake8", "botocore<1.23.24", "responses<0.12.1"]
test_requirements = ["jsonschema", "mock<=4.0.2", "moto[dynamodb2,kinesis,sts]<2", "pytest", "pytest-watch",
"pytest-cov", "flake8", "botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}

Expand Down
4 changes: 2 additions & 2 deletions python-modules/cis_change_service/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock", "flake8", "moto<2", "botocore<1.23.24",
"responses<0.12.1"]
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock<=4.0.2", "flake8", "moto<2",
"botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}

Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_crypto/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "pytest-mock", "moto[ssm]<2", "mock", "flake8",
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "pytest-mock", "moto[ssm]<2", "mock<=4.0.2", "flake8",
"cis_profile", "botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}
Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_identity_vault/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"pytest-watch",
"pytest-cov",
"patch",
"mock",
"mock<=4.0.2",
"moto[dynamodb2,ssm]>=1.3.7,<2",
"flake8",
"pytest-benchmark",
Expand Down
4 changes: 2 additions & 2 deletions python-modules/cis_notifications/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock", "flake8", "moto[secretsmanager,ssm]<2",
"PyYAML", "botocore<1.23.24", "responses<0.12.1"]
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock<=4.0.2", "flake8",
"moto[secretsmanager,ssm]<2", "PyYAML", "botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}

Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_postgresql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"pytest-watch",
"pytest-cov",
"patch",
"mock",
"flake8",
"mock<=4.0.2",
"moto[dynamodb2]<2",
"docker",
"psycopg2",
Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_processor/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock", "flake8", "moto[dynamodb2]<2",
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock<=4.0.2", "flake8", "moto[dynamodb2]<2",
"botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}
Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_profile/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

requirements = ["jsonschema", "requests", "graphene", "Faker", "everett", "everett[ini]", "configobj", "click"]
test_requirements = [
"mock",
"mock<=4.0.2",
"pytest",
"pytest-watch",
"pytest-cov",
Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_profile_retrieval_service/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "pytest-mock", "moto<2", "mock", "flake8",
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "pytest-mock", "moto<2", "mock<=4.0.2", "flake8",
"botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}
Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_publisher/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup_requirements = ["pytest-runner"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "moto[lambda,ssm]<2", "flake8", "mock",
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "moto[lambda,ssm]<2", "flake8", "mock<=4.0.2",
"botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}
Expand Down

0 comments on commit 10d3517

Please sign in to comment.