apache / libcloud

Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API.
https://libcloud.apache.org
Apache License 2.0
2.03k stars 925 forks source link

RFE: default openstack `api_version` to latest #1541

Open ktdreyer opened 3 years ago

ktdreyer commented 3 years ago

Feature Request

libcloud/compute/drivers/openstack.py defaults to API version "1.1".

DEFAULT_API_VERSION = '1.1'

It would be nice to default to the very latest API version ("2.2" as of this writing) so that new libcloud users can get started with the latest code easily.

Kami commented 3 years ago

Yeah, this seems a reasonable change to me.

But perhaps we should default it to current latest (2.2) to avoid issues when a new version is released?

Having said that - are you willing to make that change? Should be a small code + tests change and we should also add entry to docs upgrade notes.

stale[bot] commented 3 years ago

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.