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

Add deprecation messages for namespace_packages #3262

Merged
merged 3 commits into from May 16, 2022

Conversation

abravalheri
Copy link
Contributor

Motivation

The docs in https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
and https://packaging.python.org/en/latest/guides/packaging-namespace-packages/
seem to suggest that using namespace_packages is a deprecated practice.

Summary of changes

  • Add warnings for namespace_packages
  • Use SetuptoolsDeprecationWarning for the other deprecations in setup.cfg (SetuptoolsDeprecationWarning is used broadly instead of DeprecationWarning in the code base to make sure the warning message is not accidentally silenced.

Closes

Pull Request Checklist

@abravalheri abravalheri marked this pull request as ready for review April 12, 2022 08:53
@abravalheri abravalheri changed the title Add deprecation messages for namespace_packages. Add deprecation messages for namespace_packages Apr 12, 2022
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

1 participant