Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more info from pkg_resources deprecation #3920

Merged
merged 3 commits into from
Jun 19, 2023

Conversation

brondsem
Copy link
Contributor

@brondsem brondsem commented May 8, 2023

Summary of changes

When the pkg_resources deprecation is triggered, show a link to the docs which have more information about recommended replacements.

Also set stacklevel so that the warning cites the calling code rather than pkg_resources itself.

@abravalheri abravalheri force-pushed the pkg_resources_deprecation_help branch from ea23cff to 55e1807 Compare May 26, 2023 10:40
@abravalheri abravalheri force-pushed the pkg_resources_deprecation_help branch from 55e1807 to 98537a9 Compare June 13, 2023 12:30
@abravalheri abravalheri merged commit 63a4f85 into pypa:main Jun 19, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants