Skip to content

Commit

Permalink
Disable pysnmplib
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Oct 8, 2023
1 parent 267d754 commit e5fd672
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/brother/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "Brother Printer",
"codeowners": ["@bieniu"],
"config_flow": true,
"disabled": "Dependencies does not support Python 3.12",
"documentation": "https://www.home-assistant.io/integrations/brother",
"integration_type": "device",
"iot_class": "local_polling",
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/snmp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"domain": "snmp",
"name": "SNMP",
"codeowners": [],
"disabled": "Dependencies does not support Python 3.12",
"documentation": "https://www.home-assistant.io/integrations/snmp",
"iot_class": "local_polling",
"loggers": ["pyasn1", "pysmi", "pysnmp"],
Expand Down
6 changes: 0 additions & 6 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,6 @@ boto3==1.28.17
# homeassistant.components.broadlink
broadlink==0.18.3

# homeassistant.components.brother
brother==2.3.0

# homeassistant.components.brottsplatskartan
brottsplatskartan==0.0.1

Expand Down Expand Up @@ -2022,9 +2019,6 @@ pysmartthings==0.7.8
# homeassistant.components.edl21
pysml==0.0.12

# homeassistant.components.snmp
pysnmplib==5.0.21

# homeassistant.components.snooz
pysnooz==0.8.6

Expand Down
6 changes: 0 additions & 6 deletions requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,6 @@ boschshcpy==0.2.57
# homeassistant.components.broadlink
broadlink==0.18.3

# homeassistant.components.brother
brother==2.3.0

# homeassistant.components.brottsplatskartan
brottsplatskartan==0.0.1

Expand Down Expand Up @@ -1523,9 +1520,6 @@ pysmartthings==0.7.8
# homeassistant.components.edl21
pysml==0.0.12

# homeassistant.components.snmp
pysnmplib==5.0.21

# homeassistant.components.snooz
pysnooz==0.8.6

Expand Down
3 changes: 2 additions & 1 deletion tests/components/brother/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""Tests for Brother Printer integration."""
# ruff: noqa: F821
import json
from unittest.mock import patch

from homeassistant.components.brother.const import DOMAIN
# from homeassistant.components.brother.const import DOMAIN
from homeassistant.const import CONF_HOST, CONF_TYPE
from homeassistant.core import HomeAssistant

Expand Down
2 changes: 2 additions & 0 deletions tests/components/brother/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

import pytest

collect_ignore_glob = ["test_*.py"]


@pytest.fixture
def mock_setup_entry() -> Generator[AsyncMock, None, None]:
Expand Down
3 changes: 3 additions & 0 deletions tests/components/snmp/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""Skip test collection."""

collect_ignore_glob = ["test_*.py"]

0 comments on commit e5fd672

Please sign in to comment.