stempeg icon indicating copy to clipboard operation
stempeg copied to clipboard

Migrate to importlib resources

Open hendriks73 opened this issue 6 months ago • 0 comments

When using the musdb package, stempeg needs to be installed, which leads this warning:

site-packages/stempeg/__init__.py:30: 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.

I have migrated the code to importlib as per https://importlib-resources.readthedocs.io/en/latest/migration.html.

Please consider updating musdb as well for this PR to matter. 😉

hendriks73 avatar Jun 30 '25 08:06 hendriks73