4teamwork/docxcompose

DeprecationWarning: pkg_resources is deprecated as an API.

Opened this issue · 1 comments

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')

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