ansible / proposals

Repository for sharing and tracking progress on enhancement proposals for Ansible.
Creative Commons Zero v1.0 Universal
93 stars 19 forks source link

Allow AWS modules to enforce minimum botocore library version #110

Open willthames opened 6 years ago

willthames commented 6 years ago

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

Documentation (optional)

See above

Anything else?

No

ryansb commented 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)?