Skip to content

Show more info from pkg_resources deprecation#3920

Merged
abravalheri merged 3 commits into
pypa:mainfrom
brondsem:pkg_resources_deprecation_help
Jun 19, 2023
Merged

Show more info from pkg_resources deprecation#3920
abravalheri merged 3 commits into
pypa:mainfrom
brondsem:pkg_resources_deprecation_help

Conversation

@brondsem

@brondsem brondsem commented May 8, 2023

Copy link
Copy Markdown
Contributor

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
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.

2 participants