forked from ansible-collections/community.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add constraints and requirements for unit/integration tests consisten…
…t with the minimum versions of the AWS SDK we explicitly state we support
- Loading branch information
Showing
7 changed files
with
43 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Needed for generating EC2 format fingerprints | ||
openssl [test platform:rpm] | ||
gcc [test platform:rpm] | ||
python3-devel [test platform:rpm] |
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
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 @@ | ||
boto3 >= 1.9.250, <= 1.15.18 # minimum version that supports botocore 1.13.3, max that will work with ansible 2.9's other constraints | ||
botocore<1.19.0,>=1.13.3 # adds support for ECR image scanning | ||
# 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,5 +1,12 @@ | ||
# Our code is based on the AWS SDKs | ||
boto | ||
boto3 | ||
botocore | ||
|
||
# netaddr is needed for ansible.netcommon.ipv6 | ||
netaddr | ||
virtualenv | ||
boto3 | ||
botocore | ||
# Sometimes needed where we don't have features we need in modules | ||
awscli | ||
# Used for comparing SSH Public keys to the Amazon fingerprints | ||
pycrypto |
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,3 +1,6 @@ | ||
# Our code is based on the AWS SDKs | ||
botocore | ||
boto3 | ||
boto | ||
|
||
placebo | ||
botocore>=1.18.0 | ||
boto3>=1.15.0 |