Skip to content

DeprecationWarning: pkg_resources is deprecated as an API.  #105

@OliverFarren

Description

@OliverFarren

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions