From 14b5ed2251753e5004bdf5d99876943b72e95034 Mon Sep 17 00:00:00 2001 From: ddraganov Date: Thu, 8 Feb 2024 11:57:37 +0200 Subject: [PATCH] Deprecate "public" and "dotted" version aliases "public" and "dotted" aliases were equal to the "lts" alias for quite some time. They are deprecated now and will be removed with the next major vSphere release. --- pyVmomi/VmomiSupport.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyVmomi/VmomiSupport.py b/pyVmomi/VmomiSupport.py index 301845a4..47d9a175 100644 --- a/pyVmomi/VmomiSupport.py +++ b/pyVmomi/VmomiSupport.py @@ -1,4 +1,6 @@ -# Copyright (c) 2005-2023 VMware, Inc. +# Copyright (c) 2005-2024 Broadcom. All Rights Reserved. +# The term "Broadcom" refers to Broadcom Inc. +# and/or its subsidiaries. """VMOMI support code This module contains support for VMOMI abstractions such as VMODL types, @@ -1610,11 +1612,12 @@ def EnumerateWireIds(self): newestVersions = _MaturitySet() ltsVersions = _MaturitySet() -dottedVersions = _MaturitySet() oldestVersions = _MaturitySet() +# Deprecated # Alias for backward compatibility. Required until VMC M11 is phased out. publicVersions = ltsVersions +dottedVersions = ltsVersions # AddVersion is not used in this module however it is imported from it in the # generated bindings so removing it will break the world.