From 509f384dacb3a9fbcac58b0f478ba406eaba6c9f Mon Sep 17 00:00:00 2001 From: Maciej Bieniek <478555+bieniu@users.noreply.github.com> Date: Fri, 23 Feb 2024 11:59:37 +0100 Subject: [PATCH 1/2] Bump pysnmp-lextudio to version 6.0.2 --- homeassistant/components/snmp/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/snmp/manifest.json b/homeassistant/components/snmp/manifest.json index 2756b97157c2e..dd9a2f5270aeb 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/requirements_all.txt b/requirements_all.txt index d8b9f354c3d13..42ff246d8a707 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2154,7 +2154,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 1bd12704c033e..434cf29a8c761 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1669,7 +1669,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 From 41f76502761bd54d8dabf8893695614c5a562bb7 Mon Sep 17 00:00:00 2001 From: Maciej Bieniek <478555+bieniu@users.noreply.github.com> Date: Fri, 23 Feb 2024 19:01:05 +0100 Subject: [PATCH 2/2] Update gen_requirements_all.py --- homeassistant/package_constraints.txt | 10 +++------- script/gen_requirements_all.py | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 610845c7b29ac..b26fd22f9a272 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/script/gen_requirements_all.py b/script/gen_requirements_all.py index 42d1e1efa0882..ec75aaeba7e84 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -151,13 +151,9 @@ # 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