From 67243e8c704e6c5e74d8fd4ebcac509be166f58c0c3fe6e0ede9a8e8e00c8032 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 13 Dec 2019 14:27:19 +0000 Subject: [PATCH] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=90 --- apache-libcloud-2.6.0.tar.gz | 3 --- apache-libcloud-2.7.0.tar.gz | 3 +++ python-apache-libcloud.changes | 28 ++++++++++++++++++++++++++++ python-apache-libcloud.spec | 6 ++++-- 4 files changed, 35 insertions(+), 5 deletions(-) delete mode 100644 apache-libcloud-2.6.0.tar.gz create mode 100644 apache-libcloud-2.7.0.tar.gz diff --git a/apache-libcloud-2.6.0.tar.gz b/apache-libcloud-2.6.0.tar.gz deleted file mode 100644 index 861f866..0000000 --- a/apache-libcloud-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:201751f738109f25d58dcdfb5804e17216e0dc8f68b522e9e26ac16e0b9ff2ea -size 2043313 diff --git a/apache-libcloud-2.7.0.tar.gz b/apache-libcloud-2.7.0.tar.gz new file mode 100644 index 0000000..030189f --- /dev/null +++ b/apache-libcloud-2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ee7d13b9b12d1335e752a489c01eed0c270940147f418cfff89ab66faf1305 +size 2063105 diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index aa3df81..f0ae139 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Fri Dec 13 13:31:28 UTC 2019 - Thomas Bechtold + +- 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 diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 087069b..4e9cdf8 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -1,7 +1,7 @@ # # spec file for package python-apache-libcloud # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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.6.0 +Version: 2.7.0 Release: 0 Summary: Abstraction over multiple cloud provider APIs License: Apache-2.0 @@ -35,6 +35,7 @@ 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: fdupes BuildRequires: python-backports.ssl_match_hostname @@ -42,6 +43,7 @@ BuildRequires: python-rpm-macros BuildRequires: python2 Requires: python-lxml Requires: python-requests +Requires: python-typing Suggests: python-libvirt-python Suggests: python-lockfile Suggests: python-paramiko