Conversation
The tag sync option group and the import failure warning still named vsphere-automation-sdk. That package is archived and its runtime imports pkg_resources unconditionally, which no longer exists on Python 3.12+ with setuptools >= 82, so following the old name ends with "Tag syncing will be disabled" (#569). The README and the Dockerfile already use vcf-sdk, whose runtime (9.1.1.0) imports without pkg_resources. Name it in the option description and in the warning, and tell the user what to install.
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #569.
The tag sync option group (
settings-example.ini,module/sources/vmware/config.py) and the import failure warning inmodule/sources/vmware/connection.pystill namedvsphere-automation-sdk. That package is archived and its runtime importspkg_resourcesunconditionally, which does not exist on Python 3.12+ with setuptools >= 82 (requirements.txtpins 84.0.0 now), so anyone following the old name ends up with "Tag syncing will be disabled".The README and the Dockerfile already install
vcf-sdk. Its runtime (vmware-vapi-runtime 9.1.1.0) imports withoutpkg_resources: with the current pins,python -W error::UserWarning -c "from vmware.vapi.vsphere.client import create_vsphere_client; from com.vmware.cis.tagging_client import Tag"passes whileimport pkg_resourcesfails; same in the publisheddevelopmentimage. This namesvcf-sdkin the option description and in the warning, with the install command. Full suite with vcsim: 257 passed.