Prevent pysnmp from being installed as it does not work with newer python (#92292)

This commit is contained in:
J. Nick Koston
2023-04-30 13:13:47 -05:00
committed by GitHub
parent b969790e95
commit f95f2d1cfc
4 changed files with 9 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from __future__ import annotations
import logging
from typing import Any
from atenpdu import AtenPE, AtenPEError
from atenpdu import AtenPE, AtenPEError # pylint: disable=import-error
import voluptuous as vol
from homeassistant.components.switch import (

View File

@ -176,3 +176,6 @@ websockets>=11.0.1
# https://github.com/pysnmp/pysnmp/issues/51
pyasn1==0.4.8
pysnmplib==5.0.21
# pysnmp is no longer maintained and does not work with newer
# python
pysnmp==1000000000.0.0

View File

@ -386,7 +386,7 @@ asyncpysupla==0.0.5
asyncsleepiq==1.3.4
# homeassistant.components.aten_pe
atenpdu==0.3.2
# atenpdu==0.3.2
# homeassistant.components.aurora
auroranoaa==0.0.3

View File

@ -21,6 +21,7 @@ else:
COMMENT_REQUIREMENTS = (
"Adafruit_BBIO",
"atenpdu", # depends on pysnmp which is not maintained at this time
"avea", # depends on bluepy
"avion",
"azure-servicebus", # depends on uamqp, which requires OpenSSL 1.1
@ -180,6 +181,9 @@ websockets>=11.0.1
# https://github.com/pysnmp/pysnmp/issues/51
pyasn1==0.4.8
pysnmplib==5.0.21
# pysnmp is no longer maintained and does not work with newer
# python
pysnmp==1000000000.0.0
"""
IGNORE_PRE_COMMIT_HOOK_ID = (