Open willthames opened 6 years ago
botocore-versions.txt boto3-versions.txt
Attached are the full histories to-date of the boto3/botocore releases from late 2015 to now for reference.
For a minimum version, do you think the right length of time would be botocore stable version on ([day of stable release] - 1 year)
?
Proposal: Allow AWS modules to enforce minimum botocore version
Author: Will Thames <@willthames>
Date: 2018/04/28
Motivation
We try and maintain backwards compatibility for AWS modules for a reasonable amount of time, but we also wish to reduce the complexity of the codebase. Adding version checks for new features so that we can fail with a nice warning message when people try to use new features with old botocore libraries is a tradeoff between usability and simplicity.
Allowing a minimum version to be mandated by specific modules will allow us to add features that have been possible for a reasonable amount of time without including version checks.
Allowing a minimum version to be mandated allows us to remove old version checks from the codebase.
A minimum version specification may encourage people to update their botocore libraries.
Problems
What problems exist that this proposal will solve?
Solution proposal
botocore_minimum_version
parameter to theAnsibleAWSModule constructor
. Modules using that parameter will fail if botocore does not meet that version.botocore > 1.5.2
Documentation (optional)
See above
Anything else?
No