Skip to content

Need to use importlib.resources instead of pkg_resources in nnmnkwii\util\files.py #135

@oatsu-gh

Description

@oatsu-gh

To use nnmnkwii after 2025-11-30, we need to update util.py because pkg_resources will be unavailable.

nnmnkwii\util\files.py:5: 
UserWarning: pkg_resources is deprecated as an API. 
See https://setuptools.pypa.io/en/latest/pkg_resources.html. 
The pkg_resources package is slated for removal as early as 2025-11-30. 
Refrain from using this package or pin to Setuptools<81.
  import pkg_resources

test/pkg_resources.html. 
The pkg_resources package is slated for removal as early as 2025-11-30. 
Refrain from using this package or pin to Setuptools<81.
  import pkg_resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions