Accepting request 1001543 from home:yarunachalam:branches:devel:languages:python

- Removed patch skip-some-tests-for-older-paramiko-versions.patch, mock.patch
  Both the patches are already applied

- update to 3.6.0
  Compute
  * [OpenStack] Fix error attaching/detaching a Floating IP to an OpenStack node when
    ex_force_microversion is set with 2.44 or newer microversion.
  * (GITHUB-1674) [Miguel Caballer - @micafer]
  * [OpenStack] Error in volume api calls if microversion is set in OpenStack. In previous
    version if ex_force_microversion is set, it is assumed to set it to the compute service.
    Now if only a version is set 2.67, compute service is assumed but it can be also set the service name volume 3.21.
  * (GITHUB-1675) [Miguel Caballer - @micafer]
  * [OpenStack] Fix error creating and getting node in OpenStack when ex_force_microversion is set to a version newer than 2.47.
  * (GITHUB-1672) [Miguel Caballer - @micafer]
  * [EC2] Add support for new af-south-1 region. (GITHUB-1688) [Balazs Baranyi - @balazsbaranyi]
  * [SSH] Update deploy node and ParamikoSSHClient related code so it works with paramiko >= 2.9.0
    and older OpenSSH server versions which doesn't support SHA-2 variants of RSA key verification algorithm.
  * paramiko v2.9.0 introduced a change to prefer SHA-2 variants of RSA key verification algorithm.
    With this version paramiko would fail to connect to older OpenSSH servers which don't support this
    algorithm (e.g. default setup on Ubuntu 14.04) and throw authentication error.
  * The code has been updated to be backward compatible. It first tries to connect to the server
    using default preferred algorithm values and in case this fails, it will fall back to the old approach
    with SHA-2 variants disabled.
  * This functionality can be disabled by setting LIBCLOUD_PARAMIKO_SHA2_BACKWARD_COMPATIBILITY``environment
    variable to ``false.
  * For security reasons (to prevent possible downgrade attacks and similar) you are encouraged to do that
    in case you know you won't be connecting to any old OpenSSH servers. [Tomaz Muraus]
  Storage
  * [Google Storage] Fix public objects retrieval. In some scenarios, Google doesn't return etag header in the
    response (e.g. for gzip content encoding). The code has been updated to take this into account and not

OBS-URL: https://build.opensuse.org/request/show/1001543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=118
This commit is contained in:
Markéta Machová 2022-09-08 15:21:51 +00:00 committed by Git OBS Bridge
parent 57fcad3880
commit c12cbd337f
5 changed files with 73 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f4d98fdf57321a77dc3c6a4f62710dcf230e51c810f4664fd343fdffac14cad
size 1859270

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:111cb947fb9df1abaaf598c5ca640b007efbacaf84cd1e2267dab9b52954a393
size 1873596

View File

@ -0,0 +1,19 @@
-----BEGIN PGP SIGNATURE-----
iQKlBAABCgCPFiEEmXgo3GL3Wc6hidZeLAdUss4GkvMFAmKKiARfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk5
NzgyOERDNjJGNzU5Q0VBMTg5RDY1RTJDMDc1NEIyQ0UwNjkyRjMRHHRvbWF6QGFw
YWNoZS5vcmcACgkQLAdUss4GkvNd1RAAnESx1WDqOFM6TPZJM4Oxnb/YdsnD5sFy
tbIzsMPpShdMpseCmwUF5CdW/gPrEWRXMgTrKx8QjEX43tqET32rCiXaVkHKNCK3
5STWeo3C7Wu3zZcD7S3Qu7bfNeYNtll8+M/w8rqcxCpYy3F4/RQpvY6U86rEYObM
Y2TBjzDq0refy3DDe8Sx64GueBk92aQ8WMNbP/ntysi1YoJDlMO3b2qhCOKQzr4Z
YOunHxSnH0wWWzZ2aTsX02q1wb4uNvKRh1YeFfb2kE1o1UyZkneFcpY572Shojdf
5kR4ANueJr7c/C4v4KMJjK/wCAm66/I3i+Z3JLT3JAUTG1ynFG9HTuEJwPI0ywFQ
1UnoPAdjulzmR2ocGO0OEJMAujo7ofU8C9XM/1k0DczkSlGO+G5w2FOOmA74F1GV
AdvUalXcIQ8lUqd+KvS25yON+XQwIKXVQDVnVMqlG6+R9UQQC/6HpZmqdGT2AxKj
2+Gxxs4I4kscIER8llpgVyoY7Q+mRg35BshfM+RpBj3SorOGisJWloFKPNPjXE9Z
/NK2vW3wkx24b8NzL9JscOK89FWnMHKjBAOCqAWVMin6b6t4ifWOqYsOV/ng4Sou
4bTGGkBQuy7YDKHFLFsmuETsq52VS5vR+bEARQ05+svgL399TwH7oWHzy/UReqSv
uwdd90RK2m0=
=dnRQ
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Wed Sep 7 03:23:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Removed patch skip-some-tests-for-older-paramiko-versions.patch, mock.patch
Both the patches are already applied
-------------------------------------------------------------------
Wed Sep 7 02:58:46 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- update to 3.6.0
Compute
* [OpenStack] Fix error attaching/detaching a Floating IP to an OpenStack node when
ex_force_microversion is set with 2.44 or newer microversion.
* (GITHUB-1674) [Miguel Caballer - @micafer]
* [OpenStack] Error in volume api calls if microversion is set in OpenStack. In previous
version if ex_force_microversion is set, it is assumed to set it to the compute service.
Now if only a version is set 2.67, compute service is assumed but it can be also set the service name volume 3.21.
* (GITHUB-1675) [Miguel Caballer - @micafer]
* [OpenStack] Fix error creating and getting node in OpenStack when ex_force_microversion is set to a version newer than 2.47.
* (GITHUB-1672) [Miguel Caballer - @micafer]
* [EC2] Add support for new af-south-1 region. (GITHUB-1688) [Balazs Baranyi - @balazsbaranyi]
* [SSH] Update deploy node and ParamikoSSHClient related code so it works with paramiko >= 2.9.0
and older OpenSSH server versions which doesn't support SHA-2 variants of RSA key verification algorithm.
* paramiko v2.9.0 introduced a change to prefer SHA-2 variants of RSA key verification algorithm.
With this version paramiko would fail to connect to older OpenSSH servers which don't support this
algorithm (e.g. default setup on Ubuntu 14.04) and throw authentication error.
* The code has been updated to be backward compatible. It first tries to connect to the server
using default preferred algorithm values and in case this fails, it will fall back to the old approach
with SHA-2 variants disabled.
* This functionality can be disabled by setting LIBCLOUD_PARAMIKO_SHA2_BACKWARD_COMPATIBILITY``environment
variable to ``false.
* For security reasons (to prevent possible downgrade attacks and similar) you are encouraged to do that
in case you know you won't be connecting to any old OpenSSH servers. [Tomaz Muraus]
Storage
* [Google Storage] Fix public objects retrieval. In some scenarios, Google doesn't return etag header in the
response (e.g. for gzip content encoding). The code has been updated to take this into account and not
throw if the header is not present.
* (GITHUB-1682, GITHUB-1683) [Veith Röthlingshöfer - @RunOrVeith]
* [Azure Blobs] Add support for authenticating with Azure AD by passing auth_type="azureAd" argument to the driver constructor.
* (GITHUB-1663) [Brooke White - @brookewhite9]
DNS
* [GoDaddy] Fix list_zones() method so it doesn't throw if an item is missing expires attribute. (GITHUB-1681) [Dave Grenier - @livegrenier]
Container
* [Kubernetes] Various improvements in the driver - implement list methods for nodes, services, deployments,
node/pod metrics, add more fields to Pods and Containers, rename clusters to namespaces, add type annotations.
* (GITHUB-1667) [Dimitris Galanis - @dimgal1]
Other
* Test code has been updated to utilize stdlib unittest.mock module instead of 3rd party PyPi mock package.
* (GITHUG-1684) Reported by @pgajdos.
-------------------------------------------------------------------
Fri May 13 11:21:00 UTC 2022 - Markéta Machová <mmachova@suse.com>

View File

@ -20,7 +20,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-apache-libcloud
Version: 3.5.1
Version: 3.6.0
Release: 0
Summary: Abstraction over multiple cloud provider APIs
License: Apache-2.0
@ -32,9 +32,7 @@ Source1: https://downloads.apache.org/libcloud/apache-libcloud-%{version}
Source2: https://www.apache.org/dist/libcloud/KEYS#/%{name}.keyring
Patch1: gce_image_projects.patch
Patch2: ec2_create_node.patch
Patch3: skip-some-tests-for-older-paramiko-versions.patch
# PATCH-FIX-UPSTREAM https://github.com/Kami/libcloud/commit/e62bb28cdbd685203d44a9a4028f311ea155476c Use unittest.mock library from stdlib instead of using 3rd party mock dependency.
Patch4: mock.patch
BuildRequires: %{python_module libvirt-python}
BuildRequires: %{python_module lockfile}
BuildRequires: %{python_module lxml}