Skip to content

migrate entrypoints handling to standard library importlib.metadata#3904

Merged
jstvz merged 8 commits intoSFDO-Tooling:mainfrom
jorgesolebur:feature/update_pkg_resources
Aug 6, 2025
Merged

migrate entrypoints handling to standard library importlib.metadata#3904
jstvz merged 8 commits intoSFDO-Tooling:mainfrom
jorgesolebur:feature/update_pkg_resources

Conversation

@rupeshjSFDC
Copy link
Copy Markdown
Contributor

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.

rupeshjSFDC and others added 5 commits May 4, 2025 17:07
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>
@rupeshjSFDC rupeshjSFDC requested a review from a team as a code owner June 16, 2025 20:50
@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @rupeshjSFDC to sign the Salesforce Inc. Contributor License Agreement.

@jstvz jstvz enabled auto-merge (squash) August 6, 2025 19:11
@jstvz jstvz merged commit 23295c0 into SFDO-Tooling:main Aug 6, 2025
21 of 24 checks passed
@jstvz jstvz deleted the feature/update_pkg_resources branch August 6, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants