-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add constraints.txt and requirements.txt for unit/integration tests (#…
…404) Add constraints.txt and requirements.txt for unit/integration tests SUMMARY Now that we state that we support specific minimum versions of the AWS SDKs, make sure we base our unit/integration tests against them such that modules need to explicitly test/request newer versions of the SDKs. ISSUE TYPE Feature Pull Request COMPONENT NAME tests/integration tests/unit ADDITIONAL INFORMATION Once merged into amazon.aws we should merge this into community.aws Depends-On: #453 Depends-On: #454 Depends-On: #450 Depends-On: #496 See also: ansible/ansible-zuul-jobs#991 Reviewed-by: Jill R <None> Reviewed-by: None <None>
- Loading branch information
Showing
9 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
boto>=2.49.0 | ||
# When updating the minimal requirements please also update | ||
# - tests/unit/constraints.txt | ||
# - tests/integration/constraints.txt | ||
# - tests/integration/targets/setup_botocore_pip | ||
botocore>=1.18.0 | ||
boto3>=1.15.0 | ||
# Final released version | ||
boto>=2.49.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
botocore | ||
boto3 | ||
boto | ||
|
||
coverage==4.5.4 | ||
placebo | ||
mock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Specifically run tests against the oldest versions that we support | ||
boto3==1.15.0 | ||
botocore==1.18.0 | ||
|
||
# AWS CLI has `botocore==` dependencies, provide the one that matches botocore | ||
# to avoid needing to download over a years worth of awscli wheels. | ||
awscli==1.18.141 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
cloud/aws | ||
# duration: 15 | ||
slow | ||
|
||
cloud/aws | ||
ec2_ami_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Takes about 10-15 minutes | ||
# duration: 25 | ||
slow | ||
|
||
cloud/aws | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
slow | ||
|
||
cloud/aws | ||
ec2_vpc_subnet_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Specifically run tests against the oldest versions that we support | ||
boto3==1.15.0 | ||
botocore==1.18.0 | ||
|
||
# AWS CLI has `botocore==` dependencies, provide the one that matches botocore | ||
# to avoid needing to download over a years worth of awscli wheels. | ||
awscli==1.18.141 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
boto3>=1.15.0 | ||
# Our code is based on the AWS SDKs | ||
botocore | ||
boto3 | ||
boto | ||
|
||
placebo |