Disable free-mobile because requirement breaks setuptools (#50749)
This commit is contained in:
parent
877cb43c06
commit
1b74359ddb
6 changed files with 9 additions and 8 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
|||
run: |
|
||||
python -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install -U "pip<20.3" "setuptools<56.2"
|
||||
pip install -U "pip<20.3" setuptools
|
||||
pip install -r requirements.txt -r requirements_test.txt
|
||||
- name: Generate partial pre-commit restore key
|
||||
id: generate-pre-commit-key
|
||||
|
@ -580,7 +580,7 @@ jobs:
|
|||
|
||||
python -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install -U "pip<20.3" "setuptools<56.2" wheel
|
||||
pip install -U "pip<20.3" setuptools wheel
|
||||
pip install -r requirements_all.txt
|
||||
pip install -r requirements_test.txt
|
||||
pip install -e .
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/free_mobile",
|
||||
"requirements": ["freesms==0.1.2"],
|
||||
"codeowners": [],
|
||||
"iot_class": "cloud_push"
|
||||
"iot_class": "cloud_push",
|
||||
"disabled": "https://github.com/home-assistant/core/pull/50749"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Support for Free Mobile SMS platform."""
|
||||
import logging
|
||||
|
||||
from freesms import FreeClient
|
||||
from freesms import FreeClient # pylint: disable=import-error
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.notify import PLATFORM_SCHEMA, BaseNotificationService
|
||||
|
|
|
@ -623,9 +623,6 @@ fortiosapi==0.10.8
|
|||
# homeassistant.components.freebox
|
||||
freebox-api==0.0.10
|
||||
|
||||
# homeassistant.components.free_mobile
|
||||
freesms==0.1.2
|
||||
|
||||
# homeassistant.components.fritz
|
||||
# homeassistant.components.fritzbox_callmonitor
|
||||
# homeassistant.components.fritzbox_netmonitor
|
||||
|
|
|
@ -83,7 +83,7 @@ class Integration:
|
|||
|
||||
@property
|
||||
def disabled(self) -> str | None:
|
||||
"""List of disabled."""
|
||||
"""Return if integration is disabled."""
|
||||
return self.manifest.get("disabled")
|
||||
|
||||
@property
|
||||
|
|
|
@ -95,6 +95,9 @@ def validate_requirements(integration: Integration):
|
|||
integration_requirements.add(req)
|
||||
integration_packages.add(package)
|
||||
|
||||
if integration.disabled:
|
||||
return
|
||||
|
||||
install_ok = install_requirements(integration, integration_requirements)
|
||||
|
||||
if not install_ok:
|
||||
|
|
Loading…
Add table
Reference in a new issue