Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraints.txt and requirements.txt for unit/integration tests #404

Merged
merged 2 commits into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion requirements.txt
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
4 changes: 4 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
botocore
boto3
boto

coverage==4.5.4
placebo
mock
Expand Down
7 changes: 7 additions & 0 deletions tests/integration/constraints.txt
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
5 changes: 5 additions & 0 deletions tests/integration/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Our code is based on the AWS SDKs
boto
boto3
botocore

# netaddr is needed for ansible.netcommon.ipv6
netaddr
virtualenv
Expand Down
7 changes: 7 additions & 0 deletions tests/unit/constraints.txt
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
6 changes: 5 additions & 1 deletion tests/unit/requirements.txt
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