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