Disable Python 3.12 incompatible integrations (#108163)
This commit is contained in:
parent
15384f4661
commit
3eb1283fa5
5 changed files with 8 additions and 14 deletions
|
@ -2,6 +2,7 @@
|
|||
"domain": "cisco_webex_teams",
|
||||
"name": "Cisco Webex Teams",
|
||||
"codeowners": ["@fbradyirl"],
|
||||
"disabled": "Integration library not compatible with Python 3.12",
|
||||
"documentation": "https://www.home-assistant.io/integrations/cisco_webex_teams",
|
||||
"iot_class": "cloud_push",
|
||||
"loggers": ["webexteamssdk"],
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"name": "Met Office",
|
||||
"codeowners": ["@MrHarcombe", "@avee87"],
|
||||
"config_flow": true,
|
||||
"disabled": "Integration library not compatible with Python 3.12",
|
||||
"documentation": "https://www.home-assistant.io/integrations/metoffice",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["datapoint"],
|
||||
|
|
|
@ -665,9 +665,6 @@ crownstone-uart==2.1.0
|
|||
# homeassistant.components.datadog
|
||||
datadog==0.15.0
|
||||
|
||||
# homeassistant.components.metoffice
|
||||
datapoint==0.9.8;python_version<'3.12'
|
||||
|
||||
# homeassistant.components.bluetooth
|
||||
dbus-fast==2.21.1
|
||||
|
||||
|
@ -2799,9 +2796,6 @@ watchdog==2.3.1
|
|||
# homeassistant.components.waterfurnace
|
||||
waterfurnace==1.1.0
|
||||
|
||||
# homeassistant.components.cisco_webex_teams
|
||||
webexteamssdk==1.1.1;python_version<'3.12'
|
||||
|
||||
# homeassistant.components.assist_pipeline
|
||||
webrtc-noise-gain==1.2.3
|
||||
|
||||
|
|
|
@ -546,9 +546,6 @@ crownstone-uart==2.1.0
|
|||
# homeassistant.components.datadog
|
||||
datadog==0.15.0
|
||||
|
||||
# homeassistant.components.metoffice
|
||||
datapoint==0.9.8;python_version<'3.12'
|
||||
|
||||
# homeassistant.components.bluetooth
|
||||
dbus-fast==2.21.1
|
||||
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
"""Fixtures for Met Office weather integration tests."""
|
||||
import sys
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
if sys.version_info < (3, 12):
|
||||
from datapoint.exceptions import APIException
|
||||
else:
|
||||
collect_ignore_glob = ["test_*.py"]
|
||||
# All tests are marked as disabled, as the integration is disabled in the
|
||||
# integration manifest. `datapoint` isn't compatible with Python 3.12
|
||||
#
|
||||
# from datapoint.exceptions import APIException
|
||||
APIException = Exception
|
||||
collect_ignore_glob = ["test_*.py"]
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue