From bca2314b1351eccaf25d573fa973351a35b43e24 Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Wed, 15 Nov 2023 12:10:36 -0500 Subject: [SNMPTRAP] Use latest cbs library Update to use latest cbs library (2.2.1) in requirements.txt. Pin pyasn1 library to 0.4.8. Later versions are incompatible with the (no longer maintained) pysnmp library. Pin python version to 3.8.x in Dockerfile. Fix EXPOSE syntax in Dockerfile. Issue-ID: DCAEGEN2-3409 Change-Id: I34248376d7c4c2fefa97cee51fc4ff341000375b Signed-off-by: Jack Lucas --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0fb95b0..abac4f3 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ # ============LICENSE_START======================================================= # Copyright (c) 2017-2022 AT&T Intellectual Property. All rights reserved. # Copyright (c) 2021 Deutsche Telekom. All rights reserved. +# Copyright (c) 2023 J. F. Lucas. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,9 +26,9 @@ from setuptools import setup, find_packages setup( name="snmptrap", description="snmp trap receiver for ONAP docker image", - version="2.0.7", + version="2.0.8", packages=find_packages(), - install_requires=["pysnmp==4.4.12", "requests==2.18.3", "onap_dcae_cbs_docker_client==2.2.1", "pyyaml"], + install_requires=["pysnmp==4.4.12", "pyasn1==0.4.8", "requests==2.18.3", "onap_dcae_cbs_docker_client==2.2.1", "pyyaml"], author="Dave L", author_email="dl3158@att.com", license="Apache 2", -- cgit 1.2.3-korg