Subject: CVS commit: pkgsrc/net/py-apache-libcloud
From: Adam Ciarcinski
Date: 2024-04-02 21:32:40
Message id: 20240402193240.49673FA2C@cvs.NetBSD.org

Log Message:
py-apache-libcloud: updated to 3.8.0

Changes in Apache Libcloud 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.

- [Outscale] Fix ``list_nodes()`` and ``list_volumes()`` method.

- [Azure ARM] Implement pagination in the ``list_nodes()`` method. This fixes a
  bug which would result in sometimes not all the nodes being returned.

- [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.

- [Azure ARM] Bump DISK_API_VERSION from ``2018-06-01`` to ``2023-01-02`` to
  support premium v2 SSDs.

- [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.

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).

- [Aliyun OSS] Fix ``upload_object()`` function.

- [S3] Support all available storage classes. Previously only \ 
"standard" and
  "reduced_redundancy" were supported.

- [CloudFiles] Fix ``get_endpoint_url()`` throwing an exception when being used
  with ``use_internal_url=True`` argument.

- [CloudFiles] Update OpenStack connection handling code to only re-connect in
  case connection details (scheme, host, port) have changed.

  This should result in significant performance improvements when downloading
  objects since the underlying HTTP connection will be properly re-used.

- [Backblaze B2] Fix a bug which would result in an exception when passing
  ``extra={"meta_data": {}}`` argument to the ``upload_object()`` method.

Other
~~~~~

- Move Python tooling (pytest, bandit, pylint, mypy, coverage) config options
  from separate config files into single pyproject.yaml config files.

  NOTE: This change only affects development process and nothing else.

- Fix minor typos in the code using codespell package and enforce this check as
  part of our GHA CI system.

- Indicate we also support Python 3.12 (beta).

- Remove unused ``libcloud.security.SSL_VERSION`` constant / module level
  variable. This variable has been unused and had no affect on the behavior
  since we switched to the ``requests`` library for making HTTP(s) requests in
  2016.

- Packaging related metadata has been migrated from ``setup.py`` to
  ``pyproject.yaml`` file.

- Deprecated and unsafe ``setup.py test`` convenience alias for running tests
  using pytest has been removed in favor of running pytest directly.

- Script for building release artifacts has been updated to utilize ``build``
  Python package to build release artifacts (sdist + wheel) in an isolated
  environment.

Files:
RevisionActionfile
1.18modifypkgsrc/net/py-apache-libcloud/Makefile
1.11modifypkgsrc/net/py-apache-libcloud/PLIST
1.14modifypkgsrc/net/py-apache-libcloud/distinfo
1.1removepkgsrc/net/py-apache-libcloud/patches/patch-setup.py