sdn-sense / siterm

Apache License 2.0
3 stars 5 forks source link

PEP 420 – Implicit Namespace Packages #504

Closed juztas closed 3 months ago

juztas commented 4 months ago

/usr/bin/siterm-liveness:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import('pkg_resources').run_script('SiteRMSiteFE==1.4.3', 'siterm-liveness')

https://peps.python.org/pep-0420/

juztas commented 3 months ago

Solved here: https://github.com/sdn-sense/siterm-startup/commit/3f11b79421307e3b5e6486926bedbc8a33cf8cca Migrated to pip3 install from setuptools which uses pkg_resources (deprecated one)