Hello community,
here is the log from the commit of package python-apache-libcloud for
openSUSE:Factory checked in at 2020-01-19 21:00:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apache-libcloud (Old)
and /work/SRC/openSUSE:Factory/.python-apache-libcloud.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apache-libcloud"
Sun Jan 19 21:00:32 2020 rev:28 rq:765070 version:2.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-apache-libcloud/python-apache-libcloud.changes
2019-12-16 15:19:15.575166874 +0100
+++
/work/SRC/openSUSE:Factory/.python-apache-libcloud.new.26092/python-apache-libcloud.changes
2020-01-19 21:00:36.776150328 +0100
@@ -1,0 +2,9 @@
+Thu Jan 16 17:28:20 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- update to 2.8.0
+ * Distribution now includes py.typed file which signals mypy that
+ this package contains type annotations
+ * Fix get_driver() bug / regression not working if the provider
+ argument was a string and not a Provider ENUM.
+
+-------------------------------------------------------------------
Old:
----
apache-libcloud-2.7.0.tar.gz
New:
----
apache-libcloud-2.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-apache-libcloud.spec ++++++
--- /var/tmp/diff_new_pack.MBRviG/_old 2020-01-19 21:00:38.440151203 +0100
+++ /var/tmp/diff_new_pack.MBRviG/_new 2020-01-19 21:00:38.456151211 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-apache-libcloud
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-apache-libcloud
-Version: 2.7.0
+Version: 2.8.0
Release: 0
Summary: Abstraction over multiple cloud provider APIs
License: Apache-2.0
++++++ apache-libcloud-2.7.0.tar.gz -> apache-libcloud-2.8.0.tar.gz ++++++
++++ 11272 lines of diff (skipped)
++++++ ec2_create_node.patch ++++++
--- /var/tmp/diff_new_pack.MBRviG/_old 2020-01-19 21:00:40.032152038 +0100
+++ /var/tmp/diff_new_pack.MBRviG/_new 2020-01-19 21:00:40.044152045 +0100
@@ -1,9 +1,11 @@
---- apache-libcloud-2.4.0/libcloud/compute/drivers/ec2.py.orig 2019-02-25
17:38:58.959040486 +0700
-+++ apache-libcloud-2.4.0/libcloud/compute/drivers/ec2.py 2019-02-25
17:39:13.791169683 +0700
-@@ -1865,12 +1865,18 @@
+Index: apache-libcloud-2.8.0/libcloud/compute/drivers/ec2.py
+===================================================================
+--- apache-libcloud-2.8.0.orig/libcloud/compute/drivers/ec2.py
++++ apache-libcloud-2.8.0/libcloud/compute/drivers/ec2.py
+@@ -1892,12 +1892,18 @@ class BaseEC2NodeDriver(NodeDriver):
+ for system shutdown.
+ :type ex_terminate_on_shutdown: ``bool``
"""
- image = kwargs["image"]
- size = kwargs["size"]
+
+ try:
+ instance_type = size.id
@@ -13,10 +15,10 @@
params = {
'Action': 'RunInstances',
'ImageId': image.id,
- 'MinCount': str(kwargs.get('ex_mincount', '1')),
- 'MaxCount': str(kwargs.get('ex_maxcount', '1')),
+ 'MinCount': str(ex_mincount),
+ 'MaxCount': str(ex_maxcount),
- 'InstanceType': size.id
+ 'InstanceType': instance_type
}
- if kwargs.get("ex_terminate_on_shutdown", False):
+ if ex_terminate_on_shutdown: