- Update to v3.0.0:

* Make sure auth_user_info variable on the OpenStack identify connection class is populated when using auth version 3.x_password and 3.x_oidc_access_token.
  * [OpenStack] Update OpenStack identity driver so a custom project can be selected using domain_name keyword argument containing a project id.
  * [GCE] Update create_node() method so it throws an exception if node location can't be inferred and location is not specified by the user ( either by passing datacenter constructor argument or by passing location argument to the method).
  * [GCE] Update ex_get_disktype method so it works if zone argument is not set. (GITHUB-1443) [Tomaz Muraus]
  * [GiG G8] Add new driver for GiG G8 provider (https://gig.tech/). (GITHUB-1437) [Jo De Boeck - @grimpy]
  * [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
  * [Kamatera] Add new driver for Kamatera provider (https://www.kamatera.com). (GITHUB-1442) [Ori Hoch - @OriHoch]
  * Add new download_object_range and download_object_range_as_stream methods for downloading part of the object content (aka range downloads) to the base storage API.
  * [Google Storage] Update the driver so it supports service account HMAC credentials.
  * [Kubernetes] Add support for the client certificate and static token based authentication to the driver. (GITHUB-1421) [Tomaz Muraus]
  * Add support for Ed25519 private keys for deploy_node() functionality when using paramiko >= 2.2.0. (GITHUB-1445) [Tomaz Muraus - @Kami]
  * Fix deploy_node() so it correctly propagates an exception is a private key which is used is password protected, but no password is specified.
  * Allow user to specify password for encrypted keys by passing ssh_key_password argument to the deploy_node() method.
  * Fix deploy_node() method so we don't retry on fatal SSHCommandTimeoutError exception (exception which is thrown when a command which is running on remote host times out). (GITHUB-1445) [Tomaz Muraus - @Kami]
  * Add new stdout and stderr attribute to SSHCommandTimeoutError class.
  * [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
- Refresh patches gce_image_projects.patch and ec2_create_node.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=101
This commit is contained in:
Steve Kowalik 2020-05-27 04:55:38 +00:00 committed by Git OBS Bridge
parent 939709eb53
commit a1f674adbb
6 changed files with 36 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c76d6c28c724aed46067d540facc512438362d1c8d02a7e5202864f8ed756e20
size 2076497

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9eef1a61383fd401a537cf0796a1067a265288b7ab89be93f5571961a8a2902
size 2136758

View File

@ -1,10 +1,10 @@
Index: apache-libcloud-2.8.1/libcloud/compute/drivers/ec2.py
Index: apache-libcloud-3.0.0/libcloud/compute/drivers/ec2.py
===================================================================
--- apache-libcloud-2.8.1.orig/libcloud/compute/drivers/ec2.py
+++ apache-libcloud-2.8.1/libcloud/compute/drivers/ec2.py
@@ -1892,12 +1892,18 @@ class BaseEC2NodeDriver(NodeDriver):
for system shutdown.
:type ex_terminate_on_shutdown: ``bool``
--- apache-libcloud-3.0.0.orig/libcloud/compute/drivers/ec2.py
+++ apache-libcloud-3.0.0/libcloud/compute/drivers/ec2.py
@@ -1902,12 +1902,18 @@ class BaseEC2NodeDriver(NodeDriver):
on-demand price will be used.
:type ex_spot_max_price: ``float``
"""
+
+ try:

View File

@ -1,8 +1,8 @@
Index: apache-libcloud-2.8.1/libcloud/compute/drivers/gce.py
Index: apache-libcloud-3.0.0/libcloud/compute/drivers/gce.py
===================================================================
--- apache-libcloud-2.8.1.orig/libcloud/compute/drivers/gce.py
+++ apache-libcloud-2.8.1/libcloud/compute/drivers/gce.py
@@ -1803,20 +1803,35 @@ class GCENodeDriver(NodeDriver):
--- apache-libcloud-3.0.0.orig/libcloud/compute/drivers/gce.py
+++ apache-libcloud-3.0.0/libcloud/compute/drivers/gce.py
@@ -1820,20 +1820,35 @@ class GCENodeDriver(NodeDriver):
"rhel-8",
],
"suse-cloud": [

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed May 27 04:46:47 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to v3.0.0:
* Make sure auth_user_info variable on the OpenStack identify connection class is populated when using auth version 3.x_password and 3.x_oidc_access_token.
* [OpenStack] Update OpenStack identity driver so a custom project can be selected using domain_name keyword argument containing a project id.
* [GCE] Update create_node() method so it throws an exception if node location can't be inferred and location is not specified by the user ( either by passing datacenter constructor argument or by passing location argument to the method).
* [GCE] Update ex_get_disktype method so it works if zone argument is not set. (GITHUB-1443) [Tomaz Muraus]
* [GiG G8] Add new driver for GiG G8 provider (https://gig.tech/). (GITHUB-1437) [Jo De Boeck - @grimpy]
* [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
* [Kamatera] Add new driver for Kamatera provider (https://www.kamatera.com). (GITHUB-1442) [Ori Hoch - @OriHoch]
* Add new download_object_range and download_object_range_as_stream methods for downloading part of the object content (aka range downloads) to the base storage API.
* [Google Storage] Update the driver so it supports service account HMAC credentials.
* [Kubernetes] Add support for the client certificate and static token based authentication to the driver. (GITHUB-1421) [Tomaz Muraus]
* Add support for Ed25519 private keys for deploy_node() functionality when using paramiko >= 2.2.0. (GITHUB-1445) [Tomaz Muraus - @Kami]
* Fix deploy_node() so it correctly propagates an exception is a private key which is used is password protected, but no password is specified.
* Allow user to specify password for encrypted keys by passing ssh_key_password argument to the deploy_node() method.
* Fix deploy_node() method so we don't retry on fatal SSHCommandTimeoutError exception (exception which is thrown when a command which is running on remote host times out). (GITHUB-1445) [Tomaz Muraus - @Kami]
* Add new stdout and stderr attribute to SSHCommandTimeoutError class.
* [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
- Refresh patches gce_image_projects.patch and ec2_create_node.patch.
-------------------------------------------------------------------
Thu Mar 12 11:00:06 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-apache-libcloud
Version: 2.8.1
Version: 3.0.0
Release: 0
Summary: Abstraction over multiple cloud provider APIs
License: Apache-2.0