Bump awesomeversion to 21.8.1 (#55817)
This commit is contained in:
parent
ed9b271fd0
commit
a9ed4fa405
5 changed files with 12 additions and 4 deletions
|
@ -322,6 +322,14 @@ class Integration:
|
||||||
return integration
|
return integration
|
||||||
|
|
||||||
_LOGGER.warning(CUSTOM_WARNING, integration.domain)
|
_LOGGER.warning(CUSTOM_WARNING, integration.domain)
|
||||||
|
if integration.version is None:
|
||||||
|
_LOGGER.error(
|
||||||
|
"The custom integration '%s' does not have a "
|
||||||
|
"version key in the manifest file and was blocked from loading. "
|
||||||
|
"See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details",
|
||||||
|
integration.domain,
|
||||||
|
)
|
||||||
|
return None
|
||||||
try:
|
try:
|
||||||
AwesomeVersion(
|
AwesomeVersion(
|
||||||
integration.version,
|
integration.version,
|
||||||
|
|
|
@ -7,7 +7,7 @@ astral==2.2
|
||||||
async-upnp-client==0.20.0
|
async-upnp-client==0.20.0
|
||||||
async_timeout==3.0.1
|
async_timeout==3.0.1
|
||||||
attrs==21.2.0
|
attrs==21.2.0
|
||||||
awesomeversion==21.4.0
|
awesomeversion==21.8.1
|
||||||
backports.zoneinfo;python_version<"3.9"
|
backports.zoneinfo;python_version<"3.9"
|
||||||
bcrypt==3.1.7
|
bcrypt==3.1.7
|
||||||
certifi>=2020.12.5
|
certifi>=2020.12.5
|
||||||
|
|
|
@ -5,7 +5,7 @@ aiohttp==3.7.4.post0
|
||||||
astral==2.2
|
astral==2.2
|
||||||
async_timeout==3.0.1
|
async_timeout==3.0.1
|
||||||
attrs==21.2.0
|
attrs==21.2.0
|
||||||
awesomeversion==21.4.0
|
awesomeversion==21.8.1
|
||||||
backports.zoneinfo;python_version<"3.9"
|
backports.zoneinfo;python_version<"3.9"
|
||||||
bcrypt==3.1.7
|
bcrypt==3.1.7
|
||||||
certifi>=2020.12.5
|
certifi>=2020.12.5
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -36,7 +36,7 @@ REQUIRES = [
|
||||||
"astral==2.2",
|
"astral==2.2",
|
||||||
"async_timeout==3.0.1",
|
"async_timeout==3.0.1",
|
||||||
"attrs==21.2.0",
|
"attrs==21.2.0",
|
||||||
"awesomeversion==21.4.0",
|
"awesomeversion==21.8.1",
|
||||||
'backports.zoneinfo;python_version<"3.9"',
|
'backports.zoneinfo;python_version<"3.9"',
|
||||||
"bcrypt==3.1.7",
|
"bcrypt==3.1.7",
|
||||||
"certifi>=2020.12.5",
|
"certifi>=2020.12.5",
|
||||||
|
|
|
@ -141,7 +141,7 @@ async def test_custom_integration_version_not_valid(
|
||||||
await loader.async_get_integration(hass, "test_no_version")
|
await loader.async_get_integration(hass, "test_no_version")
|
||||||
|
|
||||||
assert (
|
assert (
|
||||||
"The custom integration 'test_no_version' does not have a valid version key (None) in the manifest file and was blocked from loading."
|
"The custom integration 'test_no_version' does not have a version key in the manifest file and was blocked from loading."
|
||||||
in caplog.text
|
in caplog.text
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue