Hello community,
here is the log from the commit of package python-apache-libcloud for
openSUSE:Leap:15.2 checked in at 2020-03-13 10:55:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-apache-libcloud (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-apache-libcloud.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apache-libcloud"
Fri Mar 13 10:55:28 2020 rev:12 rq:783032 version:2.8.1
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-apache-libcloud/python-apache-libcloud.changes
2020-01-15 15:46:36.495363267 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-apache-libcloud.new.3160/python-apache-libcloud.changes
2020-03-13 10:55:35.540358409 +0100
@@ -1,0 +2,168 @@
+Thu Mar 5 18:45:41 UTC 2020 - Niels Abspoel <[email protected]>
+
+- update to 2.8.1
+ for the changelog see:
+
https://libcloud.readthedocs.io/en/stable/changelog.html#changes-in-apache-libcloud-v2-8-1
+
+-------------------------------------------------------------------
+Fri Feb 21 19:48:04 UTC 2020 - Sean Marlow <[email protected]>
+
+- Add gce_image_projects.patch to update the current list of SUSE
+ image projects in GCE.
+
+-------------------------------------------------------------------
+Thu Feb 20 18:19:46 UTC 2020 - James Fehlig <[email protected]>
+
+- Stop building for python2
+
+-------------------------------------------------------------------
+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.
+
+-------------------------------------------------------------------
+Fri Dec 13 13:31:28 UTC 2019 - Thomas Bechtold <[email protected]>
+
+- update to 2.7.0:
+ - Test code with Python 3.8 and advertise that we also support Python 3.8.
+ - [OpenStack] Fix OpenStack project scoped token authentication. The driver
+ constructors now accept ``ex_tenant_domain_id`` argument which tells
+ authentication service which domain id to use for the scoped authentication
+ token. (GITHUB-1367)
+ - Introduce type annotations for the base compute API methods. This means you
+ can now leverage mypy to type check (with some limitations) your code which
+ utilizes Libcloud compute API standard API methods.
+ - [Azure ARM] Fix ``attach_volume`` method and allow maximum of 64 disks to
be
+ added when LUN is not specified. Previously there was a bug and only a
+ maximum of 63 disks could be added.
+ - New ``start_node`` and ``stop_node`` methods have been added to the base
+ Libcloud compute API NodeDriver class.
+ - [GCE] Add new ``ex_set_volume_labels`` method for managing volume labels
to
+ the driver.
+ - [EC2] Add support for new ``inf1.*`` instance types.
+ - [S3] Update S3 driver so a single driver class can be used for different
+ regions.
+ - [S3] Add missing ``eu-north-1`` region to the S3 driver. (GITHUB-1370)
+ - [S3] Add missing regions (eu-west-3, ap-northeast-3, me-south-1) to the
driver.
+ - [S3] Update the driver to throw more user-friendly error message if user is
+ using driver for a region X, but trying to upload / download object to /
from
+ a region Y.
+
+-------------------------------------------------------------------
+Wed Sep 18 11:12:52 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.6.0:
+ * Many various cloud fixes and tweaks for future python releases
+ * See CHANGES.rst
+
+-------------------------------------------------------------------
+Thu May 16 23:34:03 UTC 2019 - [email protected]
+
+- Skip failing ElasticContainerDriverTestCase, with invalid URL
+
+-------------------------------------------------------------------
+Mon Feb 25 09:28:39 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activate test suite, deselecting one set of tests which ssh to localhost
+- Remove image_projects.patch merged upstream
+- Add Suggests for optional dependencies paramiko, lockfile, libvirt-python
+ and pysphere
+- Add example code to %doc
+- Update to v2.4.0
+ * Refuse installation with Python 2.6 and Python 3.3
+ * Support Python 3.7
+ * Cleanup various Python files
+ * Allow running tests with http_proxy set
+ * Common
+ + Document openstack_connection_kwargs method
+ + Handle missing user email in OpenStackIdentityUser
+ * Compute
+ + [ARM] Support OS disk size definition on node creation
+ + [Digital Ocean] Support floating IPs
+ + [Digital Ocean] Support attach/detach for floating IPs
+ + [Digital Ocean] Add ex_get_node_details
+ + [Digital Ocean] Add tags extra attribute to create_node
+ + [Dimension Data] Fix IndexError in list_images
+ + [EC2] Add AWS eu-west-3 (Paris) region
+ + [EC2] Add description to ex_authorize_security_group_ingress
+ + [EC2] Added script to automatically get EC2 instance sizes
+ + [EC2] Update instance sizes
+ + [EC2] Accept tags when create a snapshot
+ + [GCE] Expand Firewall options coverage
+ + [GCE] Expand network and subnetwork options coverage
+ + [GCE] Extend ex_create_address to allow internal ip creation
+ + [GCE] Allow shared VPC in managed instance group creation
+ + [GCE] Support disk_size parameter for boot disk when creating instance
+ + [GCE] Update public image projects list
+ + [GCE] Fix _find_zone_or_region for >500 instances
+ + [GCE] Allow routing_mode=None in ex_create_network
+ + [OpenStack] Implement Glance Image API v2
+ + [OpenStack] Fix spelling in ex_files description
+ + [OpenStack v2] Allow listing image members
+ + [OpenStack v2] Allow creating and accepting image members
+ + [OpenStack v2] Fix image members methods
+ + [OpenStack] Fix API doc for delete_floating_ip
+ + [OpenStack] Implement port attaching/detaching
+ + [OpenStack] Add methods for getting and creating ports
+ + [OpenStack] Add get_user method
+ + [OpenStack] Add ex_list_subnets to OpenStack_2_NodeDriver
+ + [OpenStack] The OpenStack_2_NodeDriver uses two connections
+ + [OpenStack] The OpenStack_2_NodeDriver /v2.0/networks instead of
/os-networks
+ + [Scaleway] New Scaleway driver
+ + [Scaleway] Update Scaleway default API host
+ * DNS
+ + [Google Cloud DNS] Document driver instantiation
+ * Storage
+ + Update docstring for storage provider class
+ + [Azure Blob Storage] Allow filtering lists by prefix
+ + [Azure Blob Storage] Update driver documentation
+ + [Azure Blob Storage] Fix upload/download streams
+ + [Azure Blob Storage] Fix PageBlob headers
+ + [S3] Guess s3 upload content type
+ + [S3] Add Amazon S3 (cn-northwest-1) Storage Driver
+ * Other
+ + Fixed spelling in 2.0 changes documentation
+
+
+-------------------------------------------------------------------
+Fri Sep 28 20:00:44 UTC 2018 - Sean Marlow <[email protected]>
+
+- Add ec2_create_node.patch to allow for instance type strings
+ in create_node method.
+
+-------------------------------------------------------------------
+Tue Aug 14 17:57:22 UTC 2018 - [email protected]
+
+- Cleanup RPM warnings.
+- Add image_projects.patch with updated list of latest image
+ projects.
+
+-------------------------------------------------------------------
+Wed Jun 6 13:14:09 UTC 2018 - [email protected]
+
+- Use noun phrase in summary.
+
+-------------------------------------------------------------------
+Thu May 10 15:44:58 UTC 2018 - [email protected]
+
+- Make sure ssl is available
+
+-------------------------------------------------------------------
+Wed May 2 15:33:17 UTC 2018 - [email protected]
+
+- Version update to 2.3.0:
+ * For the changes see CHANGES.rst as it is too long
+ * many various bugfixes
+- Drop no longer applying patch fix-backports-usage.patch
+
+-------------------------------------------------------------------
+Sat Sep 30 13:29:33 UTC 2017 - [email protected]
+
+- fix build on SLE12 by using python-backports
+- reduce warnings
+
+-------------------------------------------------------------------
Old:
----
apache-libcloud-2.0.0.tar.gz
New:
----
apache-libcloud-2.8.1.tar.gz
ec2_create_node.patch
gce_image_projects.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-apache-libcloud.spec ++++++
--- /var/tmp/diff_new_pack.lblCye/_old 2020-03-13 10:55:35.832358618 +0100
+++ /var/tmp/diff_new_pack.lblCye/_new 2020-03-13 10:55:35.832358618 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-apache-libcloud
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,31 +12,49 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-#nospeccleaner
+
+# No longer build for python2
+%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-apache-libcloud
-Version: 2.0.0
+Version: 2.8.1
Release: 0
-Summary: Abstract away differences among multiple cloud provider APIs
+Summary: Abstraction over multiple cloud provider APIs
License: Apache-2.0
Group: System/Monitoring
-Url: https://libcloud.apache.org
+URL: https://libcloud.apache.org
Source0:
https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.gz
+Patch1: gce_image_projects.patch
+Patch2: ec2_create_node.patch
+BuildRequires: %{python_module libvirt-python}
+BuildRequires: %{python_module lockfile}
BuildRequires: %{python_module lxml}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module paramiko}
+BuildRequires: %{python_module pytest-runner}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module typing}
BuildRequires: %{python_module xml}
+BuildRequires: %{python_module pyOpenSSL}
BuildRequires: fdupes
+BuildRequires: python-backports.ssl_match_hostname
BuildRequires: python-rpm-macros
-%if 0%{?suse_version} >= 1210
-BuildRequires: systemd
+%if ! 0%{?skip_python2}
+BuildRequires: python2
%endif
Requires: python-lxml
Requires: python-requests
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: python-typing
+Suggests: python-libvirt-python
+Suggests: python-lockfile
+Suggests: python-paramiko
+Suggests: python-pysphere
BuildArch: noarch
%python_subpackages
@@ -46,17 +64,40 @@
%prep
%setup -q -n apache-libcloud-%{version}
+%patch1 -p1
+%patch2 -p1
+sed -i '/^#!/d' demos/gce_demo.py
+chmod a-x demos/gce_demo.py
+# Setup tests
+cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
%build
%python_build
%install
%python_install
-%fdupes %{buildroot}%{python_sitelib}/libcloud/test/
+find %{buildroot} -name '*.DS_Store' -delete
+find %{buildroot} -name '*.json' -size 0 -delete
+find %{buildroot} -name '*.pem' -size 0 -delete
+%python_expand rm -r %{buildroot}%{$python_sitelib}/libcloud/test
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+# Skip ShellOutSSHClientTests tests which attempt to ssh to localhost
+%if ! 0%{?skip_python2}
+python2 -m pytest -k 'not ShellOutSSHClientTests and \
+ not ElasticContainerDriverTestCase'
+%endif
+# Note these two extra py3 failures are undesirable and should be fixed
+python3 -m pytest -k \
+ 'not test_consume_stderr_chunk_contains_part_of_multi_byte_utf8_character
and \
+ not test_consume_stdout_chunk_contains_part_of_multi_byte_utf8_character
and \
+ not ShellOutSSHClientTests and \
+ not ElasticContainerDriverTestCase'
%files %{python_files}
-%defattr(-,root,root)
-%doc LICENSE CHANGES.rst README.rst
+%license LICENSE
+%doc CHANGES.rst README.rst demos/ example_*.py
%{python_sitelib}/*
%changelog
++++++ apache-libcloud-2.0.0.tar.gz -> apache-libcloud-2.8.1.tar.gz ++++++
++++ 269022 lines of diff (skipped)
++++++ ec2_create_node.patch ++++++
Index: apache-libcloud-2.8.1/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``
"""
+
+ try:
+ instance_type = size.id
+ except AttributeError:
+ instance_type = size
+
params = {
'Action': 'RunInstances',
'ImageId': image.id,
'MinCount': str(ex_mincount),
'MaxCount': str(ex_maxcount),
- 'InstanceType': size.id
+ 'InstanceType': instance_type
}
if ex_terminate_on_shutdown:
++++++ gce_image_projects.patch ++++++
Index: apache-libcloud-2.8.1/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):
"rhel-8",
],
"suse-cloud": [
- "sles-11",
"sles-12",
"sles-15",
],
"suse-byos-cloud": [
- "sles-11-byos", "sles-12-byos",
- "sles-12-sp2-sap-byos", "sles-12-sp3-sap-byos",
- "suse-manager-proxy-byos", "suse-manager-server-byos"
+ "sles-11-byos",
+ "sles-12-byos",
+ "sles-15-byos",
+ "sles-12-sp1-sap-byos",
+ "sles-12-sp2-sap-byos",
+ "sles-12-sp3-sap-byos",
+ "sles-12-sp4-sap-byos",
+ "sles-12-sp5-sap-byos",
+ "sles-15-sap-byos",
+ "sles-15-sp1-sap-byos",
+ "sles-15-sp1-chost-byos",
+ "suse-manager-proxy",
+ "suse-manager-server"
],
"suse-sap-cloud": [
"sles-12-sp2-sap",
"sles-12-sp3-sap",
"sles-12-sp4-sap",
+ "sles-12-sp5-sap",
"sles-15-sap",
+ "sles-15-sp1-sap",
+ ],
+ "suse-sap-cal-cloud": [
+ "sles-12-sp1-sapcal",
+ "sles-12-sp3-sapcal",
],
"ubuntu-os-cloud": [
"ubuntu-1404-lts",