Commit Graph

139 Commits

Author SHA256 Message Date
Dominique Leuenberger
8bbd6eb4ae Accepting request 1198394 from devel:languages:python
- Replace support-pytest-8.2.patch:
  * The existing patch unintentionally skips a lot of the testsuite.

OBS-URL: https://build.opensuse.org/request/show/1198394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=47
2024-09-04 11:22:08 +00:00
Steve Kowalik
5dcb7e8dbd - Replace support-pytest-8.2.patch:
* The existing patch unintentionally skips a lot of the testsuite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=137
2024-09-03 04:50:47 +00:00
Ana Guerrero
681d11f659 Accepting request 1178871 from devel:languages:python
- Switch to pyproject and autosetup macros.
- No more greedy globs in %files.
- Tidy up {Build,}Requires on typing and lxml.
- Stop skipping a bunch of tests, requests-mock has been fixed.
- Add patches support-pytest-8.patch, support-pytest-8.2.patch:
  * Support running under pytest 8.2.x.

OBS-URL: https://build.opensuse.org/request/show/1178871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=46
2024-06-07 13:02:06 +00:00
Steve Kowalik
ae4ce35e61 - Switch to pyproject and autosetup macros.
- No more greedy globs in %files.
- Tidy up {Build,}Requires on typing and lxml.
- Stop skipping a bunch of tests, requests-mock has been fixed.
- Add patches support-pytest-8.patch, support-pytest-8.2.patch:
  * Support running under pytest 8.2.x.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=135
2024-06-06 02:52:10 +00:00
Ana Guerrero
869a75e76a Accepting request 1114461 from devel:languages:python
- Update to 3.8.0
  * Compute
    - Remove obsolete compute driver where the provider is either
      dead or not offering those services anymore: Bluebox,
      bsnlcloud, Cloudwatt, Enomaly, ElasticHosts, ElasticStack,
      GoGrid, Gridspot, HostVirtual, Joyent, Med-1, Nephoscale,
      1on1, ProfitBricks, ServerLove, SkaliCloud, Softlayer, Voxel.
      (#1743, #1852)
    - [Outscale] Fix list_nodes() and list_volumes() method. (#1877)
    - [Azure ARM] Implement pagination in the list_nodes() method.
      This fixes a bug which would result in sometimes not all the 
      nodes being returned. (#1824, #1850)
    - [Azure ARM] Implement pagination in the list_volumes() method.
      This fixes a bug which would result in sometimes not all the 
      volumes nodes being returned. (#1891)
    - [Azure ARM] Bump DISK_API_VERSION from 2018-06-01 to 2023-01-02
      to support premium v2 SSDs. (#1904)
    - [AWS EC2] Add support for the following new arguments to the
      ex_register_image() method: * boot_mode - control bios vs
      uefi boot * tpm_support - enable a tpm * uefi_data - provide
      NV UEFI vars * imds_support - require IMDSv2. (#1906)
  * Storage
    - Optimize read_in_chunks() function implementation.
    - This should result in large performance speedups and lower memory
      usage when uploading or downloading a large file with a mismatching chunk size.
    - Keep in mind that this only affects code paths where the function
      is called with fill_size=True argument
      (such as in the S3 driver, etc). (#1847)
    - [Aliyun OSS] Fix upload_object() function. (#1796)
    - [S3] Support all available storage classes. Previously only

OBS-URL: https://build.opensuse.org/request/show/1114461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=45
2023-10-02 18:04:03 +00:00
d4b44711d6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=133 2023-09-29 21:55:34 +00:00
fe43e3e360 Accepting request 1113881 from home:ecsos:python
- Update to 3.8.0

OBS-URL: https://build.opensuse.org/request/show/1113881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=132
2023-09-29 13:02:51 +00:00
Dominique Leuenberger
fb3aafab77 Accepting request 1096551 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1096551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=44
2023-07-04 13:21:47 +00:00
6126b92115 Accepting request 1096542 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096542
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=130
2023-07-03 12:37:14 +00:00
Dominique Leuenberger
c4402a34f7 Accepting request 1085867 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=43
2023-05-11 10:31:24 +00:00
df40eaf988 Accepting request 1085679 from home:dgarcia:branches:devel:languages:python
- Disable broken tests because python-requests-mock and urllib3
  compatibility, gh#jamielennox/requests-mock#228

OBS-URL: https://build.opensuse.org/request/show/1085679
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=128
2023-05-09 22:41:58 +00:00
Dominique Leuenberger
0e6bdbec2c Accepting request 1061730 from devel:languages:python
- update to 3.7.0:
  * Support for Python 3.6 which has been EOL for more than a year now has
    been removed.
  * [CloudSigma] Update API URLs for US locations.
  * [GCP] Fix OAuth2 desktop client login.
  * [Amazon S3] Add support for ``af-south-1`` region.
  * Also run unit tests under Python 3.11 on CI/CD and indicate we also
    support Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1061730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=42
2023-01-29 13:10:26 +00:00
e925b1bf62 - update to 3.7.0:
* Support for Python 3.6 which has been EOL for more than a year now has
    been removed.
  * [CloudSigma] Update API URLs for US locations.
  * [GCP] Fix OAuth2 desktop client login.
  * [Amazon S3] Add support for ``af-south-1`` region.
  * Also run unit tests under Python 3.11 on CI/CD and indicate we also
    support Python 3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=126
2023-01-28 12:28:20 +00:00
Dominique Leuenberger
1e9ec6dbd1 Accepting request 1032174 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=41
2022-10-30 17:28:25 +00:00
6e2f44ac24 Accepting request 1031646 from home:yarunachalam:branches:devel:languages:python
- Update to 3.6.1 
  * [OpenStack] Fix OpenStack Identitiy bug when auth url contains a path.
     (GITHUB-1717, GITHUB-1718) [Dimitris Galanis - @dimgal1]
  * Update EC2 price scraping script to utilize official pricing API endpoint.
     Pricing file has also been updated to include latest EC2 pricing data.
     Complete raw pricing data file size has grown by ~1 MB (from ~2 MB to ~3 MB).
     By default when requesting pricing data we only cache pricing data in memory for used / requested drivers so a slight memory
     increase due to the pricing file size increase will only affect users who utilize pricing related functionality in the EC2 driver.
     (GITHUB-1715) [Eis D. Zaster - @Eis-D-Z]
  Compute
  * [EC2] Update list_images() method to better handle scenario when an image doesn't contain creationDate attribute
    (previously the code would throw if an image without creationDate was encountered).
    Reported by Juan Marcos Caicedo Mejía - @juanmarcosdev.
    (GITHUB-1700, GITHUB-1701) [Tomaz Muraus - @Kami]
  * [Azure ARM] Allow user to create volume / disks in specific zone by passing ex_zones argument to the create_volume() method.
    Also add new ex_sku_name and remove ex_account_type argument from that method.
    Also change DISK_API_VERSION version from 2016-04-30-preview to 2018-06-01. This is needed to be able to support those changes.
    Code has been updated to handle slightly different response format for the volume API operations.
  * (GITHUB-1736) [Palash Gandhi - @palashgandhi]
  * [GCE] Add improved support for retrieving GCE image pricing data using libcloud.pricing.get_image_price("gce_images", ...) method.
  * Existing way of retrieving image pricing using libcloud.pricing.get_pricing("compute", "gce_images") method continues to work.
    (GITHUB-1699) [Eis D. Zaster - @Eis-D-Z]
  * [Azure ARM] Add new ex_create_additional_capabilities() method which allows user to set capabilities on a stopped node.
    This allows users to utilize ultra SSDs and similar.
  * Also add support for new ex_iops and ex_throughput argument to the create_volume() method.
    (GITHUB-1744) [John Wren Kennedy - @jwk404]
  Storage
  * [Azure Blobs] Fix get_container() method and make sure Container etag extra attribute contains the correct scheme (https or http), depending on the used endpoint.
    (GITHUB-1703, GITHUB-1712) [@KatiRG]
  * [Azure Blobs] Fix list_containers()` method and make sure Container etag extra attribute doesn't contain unncessary double quotes

OBS-URL: https://build.opensuse.org/request/show/1031646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=124
2022-10-29 11:42:27 +00:00
Dominique Leuenberger
4a6c2a825e Accepting request 1003312 from 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
    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.

OBS-URL: https://build.opensuse.org/request/show/1003312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=40
2022-09-14 11:44:40 +00:00
47bb058c41 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=122 2022-09-13 11:50:33 +00:00
10f558289f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=121 2022-09-13 11:50:28 +00:00
b88cacbda7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=120 2022-09-13 07:20:32 +00:00
b2228fad7a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=119 2022-09-08 15:22:31 +00:00
c12cbd337f 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
2022-09-08 15:21:51 +00:00
Dominique Leuenberger
40eaf15c3d Accepting request 977799 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/977799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=39
2022-05-18 11:13:09 +00:00
Pablo Suárez Hernández
57fcad3880 Accepting request 977732 from home:mcalabkova:branches:devel:languages:python
- update to 3.5.1
  * Support for Python 3.5 which has been EOL for more than a year now has been removed.
  * [EC2] Add support for new ap-east-1 region.
  * [OpenStack] OpenStack: Move floating IP functions to use network service instead of nova.
  * [OpenStack] Avoid raising exception if ip is not found. 
  * [GCE] Allow credentials argument which is provided to the driver constructor.
  * [Local Storage] Objects returned by the list_container_objects() method are now returned sorted in the ascending order based on the object name.
  * Also run unit tests under Python 3.10 + Pyjion on CI/CD.
- added upstream patch mock.patch and drop mock requirement
- rebase all other patches

OBS-URL: https://build.opensuse.org/request/show/977732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=116
2022-05-17 15:00:07 +00:00
Dominique Leuenberger
d935a348b0 Accepting request 941203 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/941203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=38
2021-12-18 19:29:23 +00:00
Enno Gotthold
81307fe027 Accepting request 937758 from home:pgajdos:python
- pytest-runner is not required for build

OBS-URL: https://build.opensuse.org/request/show/937758
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=115
2021-12-17 11:16:55 +00:00
Dominique Leuenberger
42fabfb8c7 Accepting request 931625 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/931625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=37
2021-11-20 01:38:14 +00:00
Niels Abspoel
8b19108248 Accepting request 931623 from home:AndreasStieger:branches:devel:languages:python
python-apache-libcloud 3.4.1

OBS-URL: https://build.opensuse.org/request/show/931623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=114
2021-11-15 21:19:40 +00:00
Pablo Suárez Hernández
705793e2a8 Accepting request 931506 from home:AndreasStieger:branches:devel:languages:python
python-apache-libcloud 3.4.0

OBS-URL: https://build.opensuse.org/request/show/931506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=113
2021-11-15 10:34:29 +00:00
Dominique Leuenberger
0c85090db7 Accepting request 868469 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/868469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=36
2021-02-04 19:23:14 +00:00
Niels Abspoel
0d2a5c04d7 Accepting request 868316 from home:PSuarezHernandez:branches:devel:languages:python
- Skip "OvhTests::test_list_nodes_invalid_region" compute test when building
  RPM package since this tests requires internet connection. 
 

- Update to 3.3.1:
  * Compute
    + [EC2] Fix a regression introduced in v3.3.0 which would break EC2 driver for some regions because the driver would incorrectly try to use signature version 2 for all the regions whereas some newer regions require signature version 4 to be used.
      If you are unable to upgrade, you can use the following workaround, as long as you only use code which supports / works with authentication signature algorithm version 4:
      import libcloud.common.aws
      libcloud.common.aws.DEFAULT_SIGNATURE_VERSION = "4"
      # Instantiate affected driver here...
      Reported by @olegrtecno. (GITHUB-1545, GITHUB-1546)
    + [EC2] Allow user to override which signature algorithm version is used for authentication by passing signature_version keyword argument to the EC2 driver constructor. (GITHUB-1546)
  * Storage
    + [Google Cloud Storage] Fix a bug and make sure we also correctly handle scenario in get_object() method when the object size is returned in x-goog-stored-content-length and not content-length header. @RunOrVeith. (GITHUB-1544, GITHUB-1547)
    + [Google Cloud Storage] Update get_object() method and ensure object.size attribute is an integer and not a string. This way it’s consistent with list_objects() method. (GITHUB-1547)

- Update to 3.3.0:
  * Common
    + Fix a bug which would cause some prepared requests with empty bodies to be chunked which would cause some of the provider APIs such as OpenStack to return HTTP 400 errors. (GITHUB-1487, GITHUB-1488) [Michael Spagon - @mspagon]
    + Optimize various code imports (remove unnecessary imports, make some lazy, etc.), so now importing most of the modules is around ~20-40% faster (~70 vs ~140 ms) and in some cases such as EC2 driver even more.
    + Now majority of the import time is spent in importing requests library. (GITHUB-1519) [Tomaz Muraus]
    + libcloud.pricing.get_size_price() function has been updated so it only caches pricing data in memory for the requested drivers.
    + Advertise Python 3.9 support in setup.py.
  * Compute
    + [GCE] Fix ex_set_image_labels method using incorrect API path. (GITHUB-1485) [Poul Petersen - @petersen-poul]
    + [OpenStack] Fix error setting ex_force_XXX_url without setting ex_force_base_url. (GITHUB-1492) [Miguel Caballer - @micafer]
    + [EC2] Update supported EC2 regions and instance sizes and add support for eu-north-1 region. (GITHUB-1486) [Arturo Noha - @r2ronoha]
    + [Ovh] Add support for multiple regions to the driver. User can select a region (location) by passing location argument to the driver constructor (e.g. location=ca). (GITHUB-1494) [Dan Hunsaker - @danhunsaker]
    + [GCE] Add support for creating nodes without a service account associated with them. Now when an empty list is passed for ex_service_accounts argument, VM will be created without service account attached.

OBS-URL: https://build.opensuse.org/request/show/868316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=111
2021-02-01 21:09:41 +00:00
Dominique Leuenberger
158d36e0c1 Accepting request 845726 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/845726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=35
2020-11-05 20:54:07 +00:00
Alexander Graul
246cfe49eb Accepting request 845724 from home:PSuarezHernandez:branches:devel:languages:python
- Fix bcond macros on SPEC file to properly manage Python 2 and Python 3 builds.

OBS-URL: https://build.opensuse.org/request/show/845724
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=109
2020-11-03 13:45:07 +00:00
Dominique Leuenberger
f0b2dfdd60 Accepting request 845056 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/845056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=34
2020-11-02 08:40:57 +00:00
Alexander Graul
c5a7f9c3ec Accepting request 845048 from home:PSuarezHernandez:branches:devel:languages:python
- Skip conflictive 'ParamikoSSHClientTests.test_key_file_non_pem_format_error' test
  since our SLE python-paramiko package already has OpenSSH support on version < 2.7.0

OBS-URL: https://build.opensuse.org/request/show/845048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=107
2020-10-30 14:58:04 +00:00
Alexander Graul
f2ce52a468 Accepting request 845007 from home:PSuarezHernandez:branches:devel:languages:python
- Add pyOpenSSL as build dependency to allow tests to pass on SLE15 family

OBS-URL: https://build.opensuse.org/request/show/845007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=106
2020-10-30 11:45:28 +00:00
0f774a6840 Accepting request 844561 from home:PSuarezHernandez:branches:devel:languages:python
- Do not build Python2 subpackage since 3.2.0 does not support Python2
- Adjust skipped SSH unit tests when paramiko <= 2.7.0  
- Add:
  * skip-some-tests-for-older-paramiko-versions.patch

OBS-URL: https://build.opensuse.org/request/show/844561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=105
2020-10-29 15:28:58 +00:00
Dominique Leuenberger
1ce2eb231d Accepting request 843040 from devel:languages:python
- Update to 3.2.0:
  * [OpenStack] Add ex_get_network() to the OpenStack driver to make it possible to retrieve a single network by using the ID.
  * [OpenStack] Fix pagination in the list_images() method and make sure method returns all the images, even if the result is spread across multiple pages.
  * [GCE] Add script for scraping GCE pricing data and improve price addition in _to_node_size method. (GITHUB-1468) [Eis D. Zaster - @Eis-D-Z]
  * [AWS EC2] Update script for scraping AWS EC2 pricing and update EC2 pricing data. (GITHUB-1469) [Eis D. Zaster - @Eis-D-Z]
  * [Deployment] Add new wait_period argument to the deploy_node method and default it to 5 seconds.
  * [Azure ARM] Add script for scraping Azure ARM instance pricing data. (GITHUB-1470) [Eis D. Zaster - @Eis-D-Z]
  * [Deployment] Make FileDeployment class much faster and more efficient when working with large files or when running multiple FileDeployment steps on a single node.
  * [Deployment] Add __repr__() and __str__() methods to all the Deployment classes. [Tomaz Muraus - @Kami]
  * [Deployment] New keep_alive and use_compression arguments have been added to the ParamikoSSHClient class constructor.
  * [Deployment] Update ParamikoSSHClient.put() method so it returns a correct path when commands are being executed on a Windows machine.
  * [Outscale] Add a new driver for the Outscale provider. Existing Outscale driver utilizes the EC2 compatible API and this one utilizes native Outscale API. (GITHUB-1476) [Tio Gobin - @tgn-outscale]
  * [KubeVirt] Add new methods for managing services which allows users to expose ports for the VMs (ex_list_services, ex_create_service, ex_delete_service). (GITHUB-1478) [Eis D. Zaster - @Eis-D-Z]
  * [LXD] Add new methods for managing network and storage pool capabilities and include other improvements in some of the existing methods. (GITHUB-1477) [Eis D. Zaster - @Eis-D-Z]
  * [DigitalOcean] Add location argument to the list_sizes() method.
  * Fix deploy_node() so an exception is not thrown if any of the output (stdout / stderr) produced by the deployment script contains a non-valid utf-8 character.
  * Add new timeout argument to ScriptDeployment and ScriptFileDeployment class constructor.
  * [GiG G8] Fix retry functionality when creating port forwards and add support for automatically refresing the JWT auth token inside the connection class if it's about to expire in 60 seconds or less. (GITHUB-1465) [Jo De Boeck - @grimpy]
  * [Azure ARM] Update create_node so an exception is thrown if user passes ex_use_managed_disks=False, but doesn't provide a value for the ex_storage_account argument. (GITHUB-1448) [@antoinebourayne]
  * [AWS S3] Make sure driver works correctly for objects with ~ in the name.
  * [CloudFlare] Update driver to include the whole error chain the thrown exception message field.
  * [Gandi Live] Don't throw if extra['rrset_ttl'] argument is not passed to the create_record method. (GITHUB-1463) [Tomaz Muraus]

OBS-URL: https://build.opensuse.org/request/show/843040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=33
2020-10-24 13:14:51 +00:00
Steve Kowalik
853b1ebbc4 - Update to 3.2.0:
* [OpenStack] Add ex_get_network() to the OpenStack driver to make it possible to retrieve a single network by using the ID.
  * [OpenStack] Fix pagination in the list_images() method and make sure method returns all the images, even if the result is spread across multiple pages.
  * [GCE] Add script for scraping GCE pricing data and improve price addition in _to_node_size method. (GITHUB-1468) [Eis D. Zaster - @Eis-D-Z]
  * [AWS EC2] Update script for scraping AWS EC2 pricing and update EC2 pricing data. (GITHUB-1469) [Eis D. Zaster - @Eis-D-Z]
  * [Deployment] Add new wait_period argument to the deploy_node method and default it to 5 seconds.
  * [Azure ARM] Add script for scraping Azure ARM instance pricing data. (GITHUB-1470) [Eis D. Zaster - @Eis-D-Z]
  * [Deployment] Make FileDeployment class much faster and more efficient when working with large files or when running multiple FileDeployment steps on a single node.
  * [Deployment] Add __repr__() and __str__() methods to all the Deployment classes. [Tomaz Muraus - @Kami]
  * [Deployment] New keep_alive and use_compression arguments have been added to the ParamikoSSHClient class constructor.
  * [Deployment] Update ParamikoSSHClient.put() method so it returns a correct path when commands are being executed on a Windows machine.
  * [Outscale] Add a new driver for the Outscale provider. Existing Outscale driver utilizes the EC2 compatible API and this one utilizes native Outscale API. (GITHUB-1476) [Tio Gobin - @tgn-outscale]
  * [KubeVirt] Add new methods for managing services which allows users to expose ports for the VMs (ex_list_services, ex_create_service, ex_delete_service). (GITHUB-1478) [Eis D. Zaster - @Eis-D-Z]
  * [LXD] Add new methods for managing network and storage pool capabilities and include other improvements in some of the existing methods. (GITHUB-1477) [Eis D. Zaster - @Eis-D-Z]
  * [DigitalOcean] Add location argument to the list_sizes() method.
  * Fix deploy_node() so an exception is not thrown if any of the output (stdout / stderr) produced by the deployment script contains a non-valid utf-8 character.
  * Add new timeout argument to ScriptDeployment and ScriptFileDeployment class constructor.
  * [GiG G8] Fix retry functionality when creating port forwards and add support for automatically refresing the JWT auth token inside the connection class if it's about to expire in 60 seconds or less. (GITHUB-1465) [Jo De Boeck - @grimpy]
  * [Azure ARM] Update create_node so an exception is thrown if user passes ex_use_managed_disks=False, but doesn't provide a value for the ex_storage_account argument. (GITHUB-1448) [@antoinebourayne]
  * [AWS S3] Make sure driver works correctly for objects with ~ in the name.
  * [CloudFlare] Update driver to include the whole error chain the thrown exception message field.
  * [Gandi Live] Don't throw if extra['rrset_ttl'] argument is not passed to the create_record method. (GITHUB-1463) [Tomaz Muraus]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=103
2020-10-21 01:21:56 +00:00
Dominique Leuenberger
ecea61a8a8 Accepting request 809124 from devel:languages:python
- Update to v3.0.0:
  * Make sure auth_user_info variable on the OpenStack identify connection class is populated when using auth version 3.x_password and 3.x_oidc_access_token.
  * [OpenStack] Update OpenStack identity driver so a custom project can be selected using domain_name keyword argument containing a project id.
  * [GCE] Update create_node() method so it throws an exception if node location can't be inferred and location is not specified by the user ( either by passing datacenter constructor argument or by passing location argument to the method).
  * [GCE] Update ex_get_disktype method so it works if zone argument is not set. (GITHUB-1443) [Tomaz Muraus]
  * [GiG G8] Add new driver for GiG G8 provider (https://gig.tech/). (GITHUB-1437) [Jo De Boeck - @grimpy]
  * [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
  * [Kamatera] Add new driver for Kamatera provider (https://www.kamatera.com). (GITHUB-1442) [Ori Hoch - @OriHoch]
  * Add new download_object_range and download_object_range_as_stream methods for downloading part of the object content (aka range downloads) to the base storage API.
  * [Google Storage] Update the driver so it supports service account HMAC credentials.
  * [Kubernetes] Add support for the client certificate and static token based authentication to the driver. (GITHUB-1421) [Tomaz Muraus]
  * Add support for Ed25519 private keys for deploy_node() functionality when using paramiko >= 2.2.0. (GITHUB-1445) [Tomaz Muraus - @Kami]
  * Fix deploy_node() so it correctly propagates an exception is a private key which is used is password protected, but no password is specified.
  * Allow user to specify password for encrypted keys by passing ssh_key_password argument to the deploy_node() method.
  * Fix deploy_node() method so we don't retry on fatal SSHCommandTimeoutError exception (exception which is thrown when a command which is running on remote host times out). (GITHUB-1445) [Tomaz Muraus - @Kami]
  * Add new stdout and stderr attribute to SSHCommandTimeoutError class.
  * [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
- Refresh patches gce_image_projects.patch and ec2_create_node.patch.

OBS-URL: https://build.opensuse.org/request/show/809124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=32
2020-06-05 17:58:56 +00:00
Steve Kowalik
a1f674adbb - Update to v3.0.0:
* Make sure auth_user_info variable on the OpenStack identify connection class is populated when using auth version 3.x_password and 3.x_oidc_access_token.
  * [OpenStack] Update OpenStack identity driver so a custom project can be selected using domain_name keyword argument containing a project id.
  * [GCE] Update create_node() method so it throws an exception if node location can't be inferred and location is not specified by the user ( either by passing datacenter constructor argument or by passing location argument to the method).
  * [GCE] Update ex_get_disktype method so it works if zone argument is not set. (GITHUB-1443) [Tomaz Muraus]
  * [GiG G8] Add new driver for GiG G8 provider (https://gig.tech/). (GITHUB-1437) [Jo De Boeck - @grimpy]
  * [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
  * [Kamatera] Add new driver for Kamatera provider (https://www.kamatera.com). (GITHUB-1442) [Ori Hoch - @OriHoch]
  * Add new download_object_range and download_object_range_as_stream methods for downloading part of the object content (aka range downloads) to the base storage API.
  * [Google Storage] Update the driver so it supports service account HMAC credentials.
  * [Kubernetes] Add support for the client certificate and static token based authentication to the driver. (GITHUB-1421) [Tomaz Muraus]
  * Add support for Ed25519 private keys for deploy_node() functionality when using paramiko >= 2.2.0. (GITHUB-1445) [Tomaz Muraus - @Kami]
  * Fix deploy_node() so it correctly propagates an exception is a private key which is used is password protected, but no password is specified.
  * Allow user to specify password for encrypted keys by passing ssh_key_password argument to the deploy_node() method.
  * Fix deploy_node() method so we don't retry on fatal SSHCommandTimeoutError exception (exception which is thrown when a command which is running on remote host times out). (GITHUB-1445) [Tomaz Muraus - @Kami]
  * Add new stdout and stderr attribute to SSHCommandTimeoutError class.
  * [OpenStack] Fix auto assignment of volume device when using device name auto in the attach_volume method. (GITHUB-1444) [Joshua Hesketh - @jhesketh]
- Refresh patches gce_image_projects.patch and ec2_create_node.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=101
2020-05-27 04:55:38 +00:00
Dominique Leuenberger
cd9d9f9d92 Accepting request 784258 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/784258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=31
2020-04-19 19:39:42 +00:00
Tomáš Chvátal
939709eb53 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=99
2020-03-12 11:00:22 +00:00
Dominique Leuenberger
1ae4e4b4a1 Accepting request 782015 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/782015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=30
2020-03-08 21:22:34 +00:00
Tomáš Chvátal
f7e7bc6ed0 Accepting request 781930 from home:aboe76:branches:devel:languages:python
- update to 2.8.1
  for the changelog see:
  https://libcloud.readthedocs.io/en/stable/changelog.html#changes-in-apache-libcloud-v2-8-1

OBS-URL: https://build.opensuse.org/request/show/781930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=97
2020-03-06 07:37:32 +00:00
Niels Abspoel
41ef5421c3 Accepting request 777780 from home:jfehlig:branches:devel:languages:python
Upstream libvirt dropped py2 support, so likewise I would like to drop the
python2-libvirt-python bindings from Factory. But python-apache-libcloud
has a dependency on the bindings. Stop building the py2 components in
python-apache-libcloud, thus eliminating the dependency. See the following
req for more details

https://build.opensuse.org/request/show/770736

OBS-URL: https://build.opensuse.org/request/show/777780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=96
2020-03-03 19:46:38 +00:00
Dominique Leuenberger
be0904e53c Accepting request 778169 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/778169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=29
2020-02-25 15:00:52 +00:00
Tomáš Chvátal
5142b78927 Accepting request 778082 from home:seanmarlow:branches:devel:languages:python
- Add gce_image_projects.patch to update the current list of SUSE image projects in GCE.

OBS-URL: https://build.opensuse.org/request/show/778082
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=94
2020-02-22 07:30:59 +00:00
Dominique Leuenberger
70899db963 Accepting request 765070 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/765070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=28
2020-01-19 20:00:32 +00:00
Tomáš Chvátal
d6ce3c5cb9 Accepting request 765058 from home:mcalabkova:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/765058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=92
2020-01-16 19:25:37 +00:00
Dominique Leuenberger
5b38e07a3c Accepting request 756835 from devel:languages:python
- 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/request/show/756835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apache-libcloud?expand=0&rev=27
2019-12-16 14:19:09 +00:00