14
0

Accepting request 1201462 from home:mnhauke

- Update to version 8.0.3.0.1
  Bindings
  * Added support for vSAN Health APIs
  * Updated bindings with support for the new vSphere 8.0U3 APIs.
  * New features of vSphere 8.0U3 based on REST APIs are available
    via the vSphere Automation SDK for Python
  Type Hints
  * Added type stubs for vSAN APIs.
  * All type stubs are refactored.
  Added
  * Python 3.12 compatibility
  * Stub adapters allow the usage of an existing session.
  * Added pyVmomi version in the user-agent request header
  * Added certFile and certKeyFile attributes to SoapStubAdapter.
  * Added project wide variables to hold the current pyVmomi version,
    version_info and version_info_str
  * Added functions to VmomiSupport to list all types
    ListManagedTypes(), ListDataTypes(), ListEnumTypes().
  Changes
  * Doc: Non-remote ManagedObject and DataObject methods are
    documented.
  * The support statement now reflects the Broadcom support policy.
  * Copyright switch from VMware to Broadcom.
  Breaking changes
  * sso.SsoAuthenticator.get_bearer_saml_assertion_gss_api() is
    removed.
  * SSLTunnelConnection is trimmed down to handle only tunnel
    connections. The code that handles remote proxy doubles the
    HTTPProxyConnection logic and therefore is removed.
  Deprecated

OBS-URL: https://build.opensuse.org/request/show/1201462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvmomi?expand=0&rev=30
This commit is contained in:
2024-09-17 12:44:15 +00:00
committed by Git OBS Bridge
parent 4a2a5b55ee
commit 65866a099c
5 changed files with 701 additions and 6 deletions

View File

@@ -17,17 +17,16 @@
#
%define skip_python312 1
%{?sle15_python_module_pythons}
Name: python-pyvmomi
Version: 7.0.3
Version: 8.0.3.0.1
Release: 0
Summary: VMware vSphere Python SDK
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/vmware/pyvmomi
Source: https://github.com/vmware/pyvmomi/archive/v%{version}.tar.gz#/pyvmomi-%{version}.tar.gz
Patch0: 0001-pyVmomi-pinned-certificates-support.patch
BuildRequires: %{python_module fixtures >= 1.3.0}
BuildRequires: %{python_module requests >= 2.3.0}
BuildRequires: %{python_module setuptools}
@@ -53,6 +52,7 @@ ESX, ESXi, and vCenter.
%prep
%setup -q -n pyvmomi-%{version}%{?version_suffix}
%autopatch -p1
dos2unix README.rst LICENSE.txt NOTICE.txt
# https://github.com/vmware/pyvmomi/pull/750
@@ -67,6 +67,9 @@ sed -i 's/vcrpy<2/vcrpy/' test-requirements.txt
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
rm tests/test_json.py
rm tests/test_connect.py
rm tests/test_pbm_check_compatibility.py
%pyunittest discover -v
%files %{python_files}
@@ -74,6 +77,9 @@ sed -i 's/vcrpy<2/vcrpy/' test-requirements.txt
%doc NOTICE.txt README.rst
%{python_sitelib}/pyVim
%{python_sitelib}/pyVmomi
%{python_sitelib}/vsanapiutils.py
%{python_sitelib}/vsanmgmtObjects.py
%{python_sitelib}/pyvmomi-%{version}*-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__
%changelog