From ee57c924f21d7aeb15b6cb8e36d42528b2e0649a Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Sat, 24 Feb 2024 11:30:00 +0100 Subject: [PATCH] Bump `pysnmp-lextudio` library to version 6.0.2 (#111193) * Bump pysnmp-lextudio to version 6.0.2 * Update gen_requirements_all.py --------- Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com> --- homeassistant/components/snmp/manifest.json | 2 +- homeassistant/package_constraints.txt | 10 +++------- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- script/gen_requirements_all.py | 10 +++------- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/homeassistant/components/snmp/manifest.json b/homeassistant/components/snmp/manifest.json index 2756b97157c..dd9a2f5270a 100644 --- a/homeassistant/components/snmp/manifest.json +++ b/homeassistant/components/snmp/manifest.json @@ -5,5 +5,5 @@ "documentation": "https://www.home-assistant.io/integrations/snmp", "iot_class": "local_polling", "loggers": ["pyasn1", "pysmi", "pysnmp"], - "requirements": ["pysnmp-lextudio==5.0.31"] + "requirements": ["pysnmp-lextudio==6.0.2"] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 051f4d5b952..9484550e342 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -159,13 +159,9 @@ faust-cchardet>=2.1.18 # https://github.com/aaugustin/websockets/issues/1329 websockets>=11.0.1 -# pyasn1 0.5.0 has breaking changes which cause pysnmplib to fail -# until they are resolved, we need to pin pyasn1 to 0.4.8 and -# pysnmplib to 5.0.21 to avoid the issue. -# https://github.com/pyasn1/pyasn1/pull/30#issuecomment-1517564335 -# https://github.com/pysnmp/pysnmp/issues/51 -pyasn1==0.4.8 -pysnmplib==5.0.21 +# pysnmplib is no longer maintained and does not work with newer +# python +pysnmplib==1000000000.0.0 # pysnmp is no longer maintained and does not work with newer # python pysnmp==1000000000.0.0 diff --git a/requirements_all.txt b/requirements_all.txt index fb1064ab1be..d598291b775 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2155,7 +2155,7 @@ pysmartthings==0.7.8 pysml==0.0.12 # homeassistant.components.snmp -pysnmp-lextudio==5.0.31 +pysnmp-lextudio==6.0.2 # homeassistant.components.snooz pysnooz==0.8.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 273dbe1ba01..67617baa9c8 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1670,7 +1670,7 @@ pysmartthings==0.7.8 pysml==0.0.12 # homeassistant.components.snmp -pysnmp-lextudio==5.0.31 +pysnmp-lextudio==6.0.2 # homeassistant.components.snooz pysnooz==0.8.6 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 42d1e1efa08..ec75aaeba7e 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -151,13 +151,9 @@ faust-cchardet>=2.1.18 # https://github.com/aaugustin/websockets/issues/1329 websockets>=11.0.1 -# pyasn1 0.5.0 has breaking changes which cause pysnmplib to fail -# until they are resolved, we need to pin pyasn1 to 0.4.8 and -# pysnmplib to 5.0.21 to avoid the issue. -# https://github.com/pyasn1/pyasn1/pull/30#issuecomment-1517564335 -# https://github.com/pysnmp/pysnmp/issues/51 -pyasn1==0.4.8 -pysnmplib==5.0.21 +# pysnmplib is no longer maintained and does not work with newer +# python +pysnmplib==1000000000.0.0 # pysnmp is no longer maintained and does not work with newer # python pysnmp==1000000000.0.0