From a9419c6e16325d7e8f6f0afe6565b2af263d876d Mon Sep 17 00:00:00 2001 From: "David M. Raker" Date: Mon, 11 Nov 2024 15:27:22 -0800 Subject: [PATCH 1/2] Pinned setuptools in requirements.py. Newer versions that 70 are incompatible with wheel 0.30.0. --- requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.py b/requirements.py index 249d9b56ce..36a0e7c682 100644 --- a/requirements.py +++ b/requirements.py @@ -42,7 +42,7 @@ 'python-dateutil==2.8.2', 'pytz==2022.1', 'PyYAML==6.0', - 'setuptools>=40.0.0', + 'setuptools>=40.0.0,<=70.0.0', # tzlocal 3.0 breaks without the backports.tzinfo package on python < 3.9 https://pypi.org/project/tzlocal/3.0/ 'tzlocal==2.1', #'pyOpenSSL==19.0.0', From 8a3058128de4af850a6ad3ad112910845a8eb9c5 Mon Sep 17 00:00:00 2001 From: "David M. Raker" Date: Mon, 2 Dec 2024 12:17:34 -0800 Subject: [PATCH 2/2] Fixed missing Interface attribute required by BACnet COV. --- .../platform_driver/interfaces/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/core/PlatformDriverAgent/platform_driver/interfaces/__init__.py b/services/core/PlatformDriverAgent/platform_driver/interfaces/__init__.py index 128bc617d1..e2713a65f8 100644 --- a/services/core/PlatformDriverAgent/platform_driver/interfaces/__init__.py +++ b/services/core/PlatformDriverAgent/platform_driver/interfaces/__init__.py @@ -237,12 +237,12 @@ class BaseInterface(object, metaclass=abc.ABCMeta): """ - def __init__(self, vip=None, core=None, **kwargs): + def __init__(self, vip=None, core=None, device_path=None, **kwargs): # Object does not take any arguments to the init. super(BaseInterface, self).__init__() self.vip = vip self.core = core - + self.device_path = device_path self.point_map = {} self.build_register_map()