forked from pool/python-pyvmomi
- Update to version 9.0.0.0
Bindings * Updated bindings with support for the new vSphere 9.0 APIs. Added * SoapStubAdapter and the connect.py wrappers now allows passing a serverPemCert parameter (9a8956f). * Added TOML config Changes * Dependency on pyOpenSSL is limited to '<24.3.0' because of breaking changes. * Dependency on "six" is removed Breaking changes * SoapAdapter.HTTPProxyConnection is removed (9a8956f). * SoapAdapter.SSLTunnelConnection is replaced by SoapAdapter._SSLTunnelConnection which inherits Python's standard HTTPSConnection (9a8956f). * SoapAdapter.UnixSocketConnection is replaced by SoapAdapter._UnixSocketConnection which inherits Python's standard HTTPConnection (9a8956f) * 'publicVersions' and 'dottedVersions' aliases are removed. Replaced by the 'ltsVersions' alias. * pyVmomi.VmomiSupport.VmomiJSONEncoder is replaced by pyVmomi.VmomiJSONEncoder.VmomiJSONEncoder. * pyVmomi.VmomiSupport.templateOf() is replaced by pyVmomi.VmomiJSONEncoder.templateOf(). * pyVmomi.ThumbprintMismatchException is replaced by pyVmomi.Security.ThumbprintMismatchException. * pyVmomi.SoapAdapter.ThumbprintMismatchException is replaced by pyVmomi.Security.ThumbprintMismatchException. * Settings: 'legacyThumbprintException' is removed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvmomi?expand=0&rev=36
This commit is contained in:
@@ -19,18 +19,17 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyvmomi
|
||||
Version: 8.0.3.0.1
|
||||
Version: 9.0.0.0
|
||||
Release: 0
|
||||
Summary: VMware vSphere Python SDK
|
||||
License: Apache-2.0
|
||||
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
|
||||
#Patch0: 0001-pyVmomi-pinned-certificates-support.patch
|
||||
BuildRequires: %{python_module fixtures >= 1.3.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module requests >= 2.3.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.7.3}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
@@ -40,9 +39,8 @@ BuildRequires: %{python_module testtools >= 0.9.34}
|
||||
BuildRequires: %{python_module vcrpy}
|
||||
# /SECTION
|
||||
Requires: python-requests >= 2.3.0
|
||||
Requires: python-six >= 1.7.3
|
||||
Recommends: python-lxml
|
||||
Recommends: python-pyOpenSSL
|
||||
Recommends: python-pyOpenSSL < 24.3.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -51,14 +49,9 @@ pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage
|
||||
ESX, ESXi, and vCenter.
|
||||
|
||||
%prep
|
||||
%setup -q -n pyvmomi-%{version}%{?version_suffix}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n pyvmomi-%{version}%{?version_suffix}
|
||||
dos2unix README.rst LICENSE.txt NOTICE.txt
|
||||
|
||||
# https://github.com/vmware/pyvmomi/pull/750
|
||||
# Unpin vcrpy; the fix was released
|
||||
sed -i 's/vcrpy<2/vcrpy/' test-requirements.txt
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
Reference in New Issue
Block a user