File "/builddir/build/BUILD/pyvmomi-7.0.3/pyVmomi/SoapAdapter.py", line 1003, in <module>
_SocketWrapper = ssl.wrap_socket
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
Deprecation of ssl.wrap_socket for very long time & removed officially since python 3.10, recommended to use ssl.Context.wrap_socket instead.