Kometa-Team / ArrAPI

A lightweight Python library for Radarr and Sonarr API.
https://arrapi.kometa.wiki
MIT License
45 stars 7 forks source link

[Bug]: Remove deprecated `pkg_resources` API usage #20

Open rpatterson opened 4 months ago

rpatterson commented 4 months ago

Version Number

1.4.13

Describe the Bug

The pkg_resources API has been deprecated for some time and it's usage in arrapi produces DeprecationWarning messages. It's usage should be removed if possible:

.tox/py311/lib/python3.11/site-packages/arrapi/__init__.py:1: in <module>
    import pkg_resources
.tox/py311/lib/python3.11/site-packages/pkg_resources/__init__.py:89: in <module>
    warnings.warn(
E   DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html