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

Update for deprecated pkg_resources #207

Open
jozekbudz opened this issue Sep 1, 2023 · 1 comment
Open

Update for deprecated pkg_resources #207

jozekbudz opened this issue Sep 1, 2023 · 1 comment

Comments

@jozekbudz
Copy link

x/lib/python3.10/site-packages/infi/clickhouse_orm/__init__.py:1: in <module>
    __import__("pkg_resources").declare_namespace(__name__)
x/lib/python3.10/site-packages/pkg_resources/__init__.py:118: in <module>
    warnings.warn(
E   DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
@jozekbudz
Copy link
Author

jozekbudz commented Sep 1, 2023

Attention

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

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

No branches or pull requests

1 participant