Hello community,
here is the log from the commit of package python-apache-libcloud for
openSUSE:Factory checked in at 2019-03-04 09:11:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apache-libcloud (Old)
and /work/SRC/openSUSE:Factory/.python-apache-libcloud.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apache-libcloud"
Mon Mar 4 09:11:51 2019 rev:24 rq:680750 version:2.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-apache-libcloud/python-apache-libcloud.changes
2018-10-01 08:20:01.545867962 +0200
+++
/work/SRC/openSUSE:Factory/.python-apache-libcloud.new.28833/python-apache-libcloud.changes
2019-03-04 09:11:55.636692192 +0100
@@ -1,0 +2,64 @@
+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
+
+
+-------------------------------------------------------------------
Old:
----
apache-libcloud-2.3.0.tar.gz
image_projects.patch
New:
----
apache-libcloud-2.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-apache-libcloud.spec ++++++
--- /var/tmp/diff_new_pack.jsJMGe/_old 2019-03-04 09:11:56.464692043 +0100
+++ /var/tmp/diff_new_pack.jsJMGe/_new 2019-03-04 09:11:56.468692042 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-apache-libcloud
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-apache-libcloud
-Version: 2.3.0
+Version: 2.4.0
Release: 0
Summary: Abstraction over multiple cloud provider APIs
License: Apache-2.0
Group: System/Monitoring
URL: https://libcloud.apache.org
Source0:
https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.gz
-Patch1: 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 xml}
BuildRequires: fdupes
@@ -36,10 +42,11 @@
BuildRequires: python2
Requires: python-lxml
Requires: python-requests
+Suggests: python-paramiko
+Suggests: python-libvirt-python
+Suggests: python-lockfile
+Suggests: python-pysphere
BuildArch: noarch
-%ifpython2
-Requires: python2
-%endif
%python_subpackages
%description
@@ -48,8 +55,11 @@
%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
@@ -61,9 +71,18 @@
find %{buildroot} -name '*.pem' -size 0 -delete
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%check
+# Skip ShellOutSSHClientTests tests which attempt to ssh to localhost
+python2 -m pytest -k 'not ShellOutSSHClientTests'
+# 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'
+
%files %{python_files}
%license LICENSE
-%doc CHANGES.rst README.rst
+%doc CHANGES.rst README.rst demos/ example_*.py
%{python_sitelib}/*
%changelog
++++++ apache-libcloud-2.3.0.tar.gz -> apache-libcloud-2.4.0.tar.gz ++++++
++++ 16279 lines of diff (skipped)
++++++ ec2_create_node.patch ++++++
--- /var/tmp/diff_new_pack.jsJMGe/_old 2019-03-04 09:11:57.088691931 +0100
+++ /var/tmp/diff_new_pack.jsJMGe/_new 2019-03-04 09:11:57.088691931 +0100
@@ -1,8 +1,6 @@
-Index: apache-libcloud-2.3.0/libcloud/compute/drivers/ec2.py
-===================================================================
---- apache-libcloud-2.3.0.orig/libcloud/compute/drivers/ec2.py
-+++ apache-libcloud-2.3.0/libcloud/compute/drivers/ec2.py
-@@ -3907,12 +3907,18 @@ class BaseEC2NodeDriver(NodeDriver):
+--- 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 @@
"""
image = kwargs["image"]
size = kwargs["size"]