From c8c83ef544a660abd3dbe19a1f238a30cc3d9cac Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Thu, 11 May 2023 08:52:52 +0200 Subject: [PATCH] Migrate to pysnmp lextudio ecosystem The pysnmp library is not maintained since 4 years now and it's incompatible with recent libraries like pyasn1. Its fork pysnmp-lextudio is regularly maintained, we should move to that. Change-Id: I3b7b5c0cf2f7d669b265669d27e0eaca0dd1fc2a --- driver-requirements.txt | 4 +++- test-requirements.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/driver-requirements.txt b/driver-requirements.txt index 876e817cbd..c5a90f2d04 100644 --- a/driver-requirements.txt +++ b/driver-requirements.txt @@ -5,7 +5,9 @@ # These are available on pypi proliantutils>=2.14.0 -pysnmp>=4.3.0,<5.0.0 +pysnmp-lextudio>=5.0.0 # BSD +pyasn1-lextudio>=1.1.0 # BSD +pyasn1-modules-lextudio>=0.2.0 # BSD python-scciclient>=0.12.2 python-dracclient>=5.1.0,<9.0.0 python-xclarityclient>=0.1.6 diff --git a/test-requirements.txt b/test-requirements.txt index 0c4bdb0ca1..57c4a9c2c4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13,5 +13,7 @@ stestr>=2.0.0 # Apache-2.0 psycopg2>=2.8.5 # LGPL/ZPL testtools>=2.5.0 # MIT WebTest>=2.0.27 # MIT -pysnmp>=4.4.12 +pysnmp-lextudio>=5.0.0 # BSD +pyasn1-lextudio>=1.1.0 # BSD +pyasn1-modules-lextudio>=0.2.0 # BSD bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0