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

Enhancement: stop using pkg_resources #90

Open
GideonBear opened this issue Mar 15, 2023 · 0 comments · May be fixed by #91
Open

Enhancement: stop using pkg_resources #90

GideonBear opened this issue Mar 15, 2023 · 0 comments · May be fixed by #91

Comments

@GideonBear
Copy link

From the setuptools documentation:

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

python -Wall -c 'import docxcompose.properties' outputs:

.../venv/lib/python3.9/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
  warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
tvuotila added a commit to tvuotila/docxcompose that referenced this issue Sep 29, 2023
tvuotila added a commit to tvuotila/docxcompose that referenced this issue Sep 29, 2023
@tvuotila tvuotila linked a pull request Sep 29, 2023 that will close this issue
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 a pull request may close this issue.

1 participant