riverbed / steelscript

SteelScript is a collection of libraries and scripts in Python for interacting with Riverbed solutions and appliances, and other network infrastructure devices
https://support.riverbed.com/apis/steelscript
Other
14 stars 10 forks source link

Fix DeprecationWarning: pkg_resources is deprecated as an API #29

Closed gwenblum closed 9 months ago

gwenblum commented 9 months ago

/src/steelscript/steelscript/commands/init.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import("pkg_resources").declare_namespace(name) /usr/local/lib/python3.12/site-packages/pkg_resources/init.py:2846: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('steelscript'). Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) /src/steelscript/steelscript/commands/init.py:1: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('steelscript.commands'). Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages

gwenblum commented 9 months ago

31