Skip to content

Commit

Permalink
Restrict to responses<0.12.1
Browse files Browse the repository at this point in the history
Old mock depends on an internal param removed in 0.18.0
Some sort of NoneType error added by 0.12.1
  • Loading branch information
floatingatoll committed Nov 17, 2022
1 parent e50002d commit 58a1853
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion python-modules/cis_aws/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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"]
"flake8", "botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}

Expand Down
3 changes: 2 additions & 1 deletion python-modules/cis_change_service/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +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"]
test_requirements = ["pytest", "pytest-watch", "pytest-cov", "patch", "mock", "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 @@ -22,7 +22,7 @@
setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

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

extras = {"test": test_requirements}

Expand Down
1 change: 1 addition & 0 deletions python-modules/cis_identity_vault/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"psycopg2",
"psycopg2-binary",
"botocore<1.23.24",
"responses<0.12.1",
]

extras = {"test": test_requirements}
Expand Down
2 changes: 1 addition & 1 deletion python-modules/cis_notifications/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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"]
"PyYAML", "botocore<1.23.24", "responses<0.12.1"]

extras = {"test": test_requirements}

Expand Down
1 change: 1 addition & 0 deletions python-modules/cis_postgresql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"psycopg2",
"psycopg2-binary",
"botocore<1.23.24",
"responses<0.12.1",
]

extras = {"test": test_requirements}
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 @@ -11,7 +11,7 @@
setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

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

extras = {"test": test_requirements}

Expand Down
1 change: 1 addition & 0 deletions python-modules/cis_profile/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"flask",
"flask_graphql",
"flask_restful",
"responses<0.12.1",
]
setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

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 @@ -30,7 +30,7 @@
setup_requirements = ["pytest-runner", "setuptools>=40.5.0"]

test_requirements = ["pytest", "pytest-watch", "pytest-cov", "pytest-mock", "moto<2", "mock", "flake8",
"botocore<1.23.24"]
"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 @@ -11,7 +11,7 @@
setup_requirements = ["pytest-runner"]

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

extras = {"test": test_requirements}

Expand Down

0 comments on commit 58a1853

Please sign in to comment.