Skip to content

Commit

Permalink
Prevent pysnmp from being installed as it does not work with newer py…
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Apr 30, 2023
1 parent b969790 commit f95f2d1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/aten_pe/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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 (
Expand Down
3 changes: 3 additions & 0 deletions homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions script/gen_requirements_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

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
Expand Down Expand Up @@ -180,6 +181,9 @@
# 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 = (
Expand Down

0 comments on commit f95f2d1

Please sign in to comment.