mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Update pytest warnings filter (#120143)
This commit is contained in:
parent
7efd547962
commit
a76fa9f3bf
@ -456,6 +456,8 @@ filterwarnings = [
|
||||
# Ignore custom pytest marks
|
||||
"ignore:Unknown pytest.mark.disable_autouse_fixture:pytest.PytestUnknownMarkWarning:tests.components.met",
|
||||
"ignore:Unknown pytest.mark.dataset:pytest.PytestUnknownMarkWarning:tests.components.screenlogic",
|
||||
# https://github.com/rokam/sunweg/blob/3.0.1/sunweg/plant.py#L96 - v3.0.1 - 2024-05-29
|
||||
"ignore:The '(kwh_per_kwp|performance_rate)' property is deprecated and will return 0:DeprecationWarning:tests.components.sunweg.test_init",
|
||||
|
||||
# -- design choice 3rd party
|
||||
# https://github.com/gwww/elkm1/blob/2.2.7/elkm1_lib/util.py#L8-L19
|
||||
@ -471,7 +473,8 @@ filterwarnings = [
|
||||
# -- Setuptools DeprecationWarnings
|
||||
# https://github.com/googleapis/google-cloud-python/issues/11184
|
||||
# https://github.com/zopefoundation/meta/issues/194
|
||||
"ignore:Deprecated call to `pkg_resources.declare_namespace\\(('google.*'|'pywinusb'|'repoze'|'xbox'|'zope')\\)`:DeprecationWarning:pkg_resources",
|
||||
# https://github.com/Azure/azure-sdk-for-python
|
||||
"ignore:Deprecated call to `pkg_resources.declare_namespace\\(('azure'|'google.*'|'pywinusb'|'repoze'|'xbox'|'zope')\\)`:DeprecationWarning:pkg_resources",
|
||||
|
||||
# -- tracked upstream / open PRs
|
||||
# https://github.com/certbot/certbot/issues/9828 - v2.10.0
|
||||
@ -486,8 +489,6 @@ filterwarnings = [
|
||||
"ignore:'telnetlib' is deprecated and slated for removal in Python 3.13:DeprecationWarning:ndms2_client.connection",
|
||||
|
||||
# -- fixed, waiting for release / update
|
||||
# https://github.com/mkmer/AIOAladdinConnect/commit/8851fff4473d80d70ac518db2533f0fbef63b69c - >=0.2.0
|
||||
"ignore:module 'sre_constants' is deprecated:DeprecationWarning:AIOAladdinConnect",
|
||||
# https://github.com/bachya/aiopurpleair/pull/200 - >=2023.10.0
|
||||
"ignore:datetime.*utcfromtimestamp\\(\\) is deprecated and scheduled for removal:DeprecationWarning:aiopurpleair.helpers.validators",
|
||||
# https://github.com/DataDog/datadogpy/pull/290 - >=0.23.0
|
||||
@ -507,25 +508,23 @@ filterwarnings = [
|
||||
# https://github.com/eclipse/paho.mqtt.python/issues/653 - >=2.0.0
|
||||
# https://github.com/eclipse/paho.mqtt.python/pull/665
|
||||
"ignore:ssl.PROTOCOL_TLS is deprecated:DeprecationWarning:paho.mqtt.client",
|
||||
# https://github.com/vacanza/python-holidays/discussions/1800 - >1.0.0
|
||||
"ignore::DeprecationWarning:holidays",
|
||||
# https://github.com/rytilahti/python-miio/pull/1809 - >=0.6.0.dev0
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:miio.protocol",
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:miio.miioprotocol",
|
||||
# https://github.com/hunterjm/python-onvif-zeep-async/pull/51 - >3.1.12
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:onvif.client",
|
||||
# https://github.com/pkkid/python-plexapi/pull/1404 - >4.15.13
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*plexapi.base",
|
||||
# https://github.com/googleapis/python-pubsub/commit/060f00bcea5cd129be3a2d37078535cc97b4f5e8 - >=2.13.12
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:google.pubsub_v1.services.publisher.client",
|
||||
# https://github.com/okunishinishi/python-stringcase/commit/6a5c5bbd3fe5337862abc7fd0853a0f36e18b2e1 - >1.2.0
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*stringcase",
|
||||
# https://github.com/mvantellingen/python-zeep/pull/1364 - >4.2.1
|
||||
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning:zeep.utils",
|
||||
# https://github.com/timmo001/system-bridge-connector/pull/27 - >=4.1.0
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:systembridgeconnector.version",
|
||||
# https://github.com/jschlyter/ttls/commit/d64f1251397b8238cf6a35bea64784de25e3386c - >=1.8.1
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:ttls",
|
||||
# https://github.com/mvantellingen/python-zeep/pull/1364 - >4.2.1
|
||||
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning:zeep.utils",
|
||||
# https://github.com/vacanza/python-holidays/discussions/1800
|
||||
"ignore::DeprecationWarning:holidays",
|
||||
|
||||
# -- fixed for Python 3.13
|
||||
# https://github.com/rhasspy/wyoming/commit/e34af30d455b6f2bb9e5cfb25fad8d276914bc54 - >=1.4.2
|
||||
@ -546,6 +545,10 @@ filterwarnings = [
|
||||
"ignore:loop argument is deprecated:DeprecationWarning:emulated_roku",
|
||||
# https://github.com/thecynic/pylutron - v0.2.13
|
||||
"ignore:setDaemon\\(\\) is deprecated, set the daemon attribute instead:DeprecationWarning:pylutron",
|
||||
# https://github.com/pschmitt/pynuki/blob/1.6.3/pynuki/utils.py#L21 - v1.6.3
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:pynuki.utils",
|
||||
# https://github.com/briis/pyweatherflowudp/blob/v1.4.5/pyweatherflowudp/const.py#L20 - v1.4.5 - 2023-10-10
|
||||
"ignore:This function will be removed in future versions of pint:DeprecationWarning:pyweatherflowudp.const",
|
||||
# Wrong stacklevel
|
||||
# https://bugs.launchpad.net/beautifulsoup/+bug/2034451
|
||||
"ignore:It looks like you're parsing an XML document using an HTML parser:UserWarning:html.parser",
|
||||
@ -554,6 +557,7 @@ filterwarnings = [
|
||||
# - SyntaxWarnings
|
||||
# https://pypi.org/project/aprslib/ - v0.7.2 - 2022-07-10
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*aprslib.parsing.common",
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:aprslib.parsing.common",
|
||||
# https://pypi.org/project/pyblackbird/ - v0.6 - 2023-03-15
|
||||
# https://github.com/koolsb/pyblackbird/pull/9 -> closed
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*pyblackbird",
|
||||
@ -578,7 +582,7 @@ filterwarnings = [
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:pybotvac.version",
|
||||
# https://github.com/home-assistant-ecosystem/python-mystrom/blob/2.2.0/pymystrom/__init__.py#L10 - v2.2.0 - 2023-05-21
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:pymystrom",
|
||||
# https://pypi.org/project/velbus-aio/ - v2024.4.1
|
||||
# https://pypi.org/project/velbus-aio/ - v2024.4.1 - 2024-04-07
|
||||
# https://github.com/Cereal2nd/velbus-aio/blob/2024.4.1/velbusaio/handler.py#L12
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:velbusaio.handler",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user