django-bulma icon indicating copy to clipboard operation
django-bulma copied to clipboard

Remove dependency from setuptools

Open lsaffre opened this issue 9 months ago • 1 comments

Right now it is just causes DeprecationWarnings but one day we will need to change it: "Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions." https://setuptools.pypa.io/en/latest/pkg_resources.html :

lsaffre avatar Mar 24 '25 14:03 lsaffre

This is giving a "UserWarning" for me now...

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.

jasoncartwright avatar Jun 05 '25 10:06 jasoncartwright

@jasoncartwright @lsaffre fixed

timonweb avatar Jul 27 '25 18:07 timonweb

Thanks @timonweb !

lsaffre avatar Jul 28 '25 17:07 lsaffre