migrate entrypoints handling to standard library importlib.metadata#3904
Merged
jstvz merged 8 commits intoSFDO-Tooling:mainfrom Aug 6, 2025
Merged
Conversation
Main updates from CumulusCI
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Arvind Bhamidipati <arvind.bhamidipati@salesforce.com> Co-authored-by: James Estevez <jestevez@salesforce.com>
Added output_dir option to specify a custom output directory for retrieved changes Updated retrieve_components function to handle the output_dir parameter Modified error handling to provide clearer messages when no results are found Updated test cases to verify the output_dir functionality
Updates/upstream 0617
Signed-off-by: Rupesh J <rupesh.j@salesforce.com>
|
Thanks for the contribution! Before we can merge this, we need @rupeshjSFDC to sign the Salesforce Inc. Contributor License Agreement. |
jstvz
approved these changes
Aug 6, 2025
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.
Declaring a namespace package has gone through a few revisions. pkg_resources has a version that is heavily deprecated. pkgutil provides a python2/python3 compatible version that is also compatible with native python3 namespaces.
https://packaging.python.org/en/latest/guides/packaging-namespace-packages/
pkg_resources is very very deprecated and importing or using it results in deprecation warnings. It's time to move off of it entirely.