nbdev
nbdev copied to clipboard
Use of `pkg_resources` is deprecated
https://github.com/fastai/nbdev/blob/96deb7a03bf2cf79a04e1878f67ce099e434e97f/setup.py#L5-L7
This is a friendly reminder, to tackle this in the future.
https://setuptools.pypa.io/en/latest/pkg_resources.html
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.
wondering why I only get a warning about it in Python 3.12:
while in Python 3.13, all silent: