Hello community, here is the log from the commit of package python-apache-libcloud.12183 for openSUSE:Leap:15.1:Update checked in at 2020-03-30 20:17:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.1:Update/python-apache-libcloud.12183 (Old) and /work/SRC/openSUSE:Leap:15.1:Update/.python-apache-libcloud.12183.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apache-libcloud.12183" Mon Mar 30 20:17:46 2020 rev:1 rq:788284 version:2.8.1 Changes: -------- New Changes file: --- /dev/null 2020-03-10 18:28:06.918142398 +0100 +++ /work/SRC/openSUSE:Leap:15.1:Update/.python-apache-libcloud.12183.new.3160/python-apache-libcloud.changes 2020-03-30 20:17:47.106322500 +0200 @@ -0,0 +1,1016 @@ +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Tue May 16 16:37:05 UTC 2017 - [email protected] + +- convert to singlespec +- update requires +- update source url + +------------------------------------------------------------------- +Sun Apr 30 20:51:53 UTC 2017 - [email protected] + +- Updated to apache libcloud 2.0.0 +for the changelog see: +https://github.com/apache/libcloud/blob/trunk/CHANGES.rst#changes-in-apache-libcloud-200 + +------------------------------------------------------------------- +Tue Oct 18 20:49:14 UTC 2016 - [email protected] + +- Updated to apache libcloud 1.3.0 +for the changelog see: +https://github.com/apache/libcloud/blob/trunk/CHANGES.rst#changes-in-apache-libcloud-130 + +------------------------------------------------------------------- +Wed Jan 20 20:58:45 UTC 2016 - [email protected] + +- Updated to apache libcloud 0.20.1 +- General: + - Introduction of container based drivers for Docker, Rkt and Container-as-a-service providers + (LIBCLOUD-781, GITHUB-666) [Anthony Shaw] + - Introduce a new libcloud.backup API for Backup as a Service projects and products. ++++ 819 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.1:Update/.python-apache-libcloud.12183.new.3160/python-apache-libcloud.changes New: ---- apache-libcloud-2.8.1.tar.gz ec2_create_node.patch gce_image_projects.patch python-apache-libcloud.changes python-apache-libcloud.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-apache-libcloud.spec ++++++ # # spec file for package python-apache-libcloud # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # No longer build for python2 %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-apache-libcloud Version: 2.8.1 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: 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%{?skip_python2} BuildRequires: python2 %endif Requires: python-lxml Requires: python-requests Requires: python-typing Suggests: python-libvirt-python Suggests: python-lockfile Suggests: python-paramiko Suggests: python-pysphere BuildArch: noarch %python_subpackages %description Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs. %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 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} %license LICENSE %doc CHANGES.rst README.rst demos/ example_*.py %{python_sitelib}/* %changelog ++++++ 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",
