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

DeprecationWarning: pkg_resources is deprecated as an API. #105

Open
OliverFarren opened this issue Feb 22, 2024 · 1 comment
Open

DeprecationWarning: pkg_resources is deprecated as an API. #105

OliverFarren opened this issue Feb 22, 2024 · 1 comment

Comments

@OliverFarren
Copy link

When using python 3.11 this deprecation warning is raised due to pkg_resources being used in the properties.py, i'm not sure what the fix is but looks like it's used here

    def _part_template(self):
        return pkg_resources.resource_string(
            'docxcompose', 'templates/custom.xml')
@yobuntu
Copy link

yobuntu commented May 3, 2024

I have the same problem, but it only appear with python 3.12.

also this bug seems to be a duplicate of #90 and fixed by: #91

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

2 participants