mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Update pytest warnings filter (#130027)
This commit is contained in:
parent
50981c26ad
commit
49bf5db5ff
@ -486,10 +486,13 @@ filterwarnings = [
|
||||
"ignore:Deprecated call to `pkg_resources.declare_namespace\\(('azure'|'google.*'|'pywinusb'|'repoze'|'xbox'|'zope')\\)`:DeprecationWarning:pkg_resources",
|
||||
|
||||
# -- tracked upstream / open PRs
|
||||
# - pyOpenSSL v24.2.1
|
||||
# https://github.com/certbot/certbot/issues/9828 - v2.11.0
|
||||
# https://github.com/certbot/certbot/issues/9992
|
||||
"ignore:X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography:DeprecationWarning:acme.crypto_util",
|
||||
# https://github.com/beetbox/mediafile/issues/67 - v0.12.0
|
||||
"ignore:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning:mediafile",
|
||||
"ignore:CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography:DeprecationWarning:acme.crypto_util",
|
||||
"ignore:CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography:DeprecationWarning:josepy.util",
|
||||
# - other
|
||||
# https://github.com/foxel/python_ndms2_client/issues/6 - v0.1.3
|
||||
# https://github.com/foxel/python_ndms2_client/pull/8
|
||||
"ignore:'telnetlib' is deprecated and slated for removal in Python 3.13:DeprecationWarning:ndms2_client.connection",
|
||||
@ -526,6 +529,8 @@ filterwarnings = [
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:onvif.client",
|
||||
# https://github.com/okunishinishi/python-stringcase/commit/6a5c5bbd3fe5337862abc7fd0853a0f36e18b2e1 - >1.2.0
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*stringcase",
|
||||
# https://github.com/cereal2nd/velbus-aio/pull/126 - >2024.10.0
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:velbusaio.handler",
|
||||
|
||||
# -- fixed for Python 3.13
|
||||
# https://github.com/rhasspy/wyoming/commit/e34af30d455b6f2bb9e5cfb25fad8d276914bc54 - >=1.4.2
|
||||
@ -549,7 +554,7 @@ filterwarnings = [
|
||||
"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 - 2024-02-24
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:pynuki.utils",
|
||||
# https://github.com/lextudio/pysnmp/blob/v7.1.8/pysnmp/smi/compiler.py#L23-L31 - v7.1.8 - 2024-10-15
|
||||
# https://github.com/lextudio/pysnmp/blob/v7.1.10/pysnmp/smi/compiler.py#L23-L31 - v7.1.10 - 2024-11-04
|
||||
"ignore:smiV1Relaxed is deprecated. Please use smi_v1_relaxed instead:DeprecationWarning:pysnmp.smi.compiler",
|
||||
"ignore:getReadersFromUrls is deprecated. Please use get_readers_from_urls instead:DeprecationWarning:pysmi.reader.url", # wrong stacklevel
|
||||
# https://github.com/briis/pyweatherflowudp/blob/v1.4.5/pyweatherflowudp/const.py#L20 - v1.4.5 - 2023-10-10
|
||||
@ -579,7 +584,7 @@ filterwarnings = [
|
||||
# - pkg_resources
|
||||
# https://pypi.org/project/aiomusiccast/ - v0.14.8 - 2023-03-20
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:aiomusiccast",
|
||||
# https://pypi.org/project/habitipy/ - v0.3.1 - 2019-01-14 / 2024-04-28
|
||||
# https://pypi.org/project/habitipy/ - v0.3.3 - 2024-10-28
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:habitipy.api",
|
||||
# https://github.com/eavanvalkenburg/pysiaalarm/blob/v3.1.1/src/pysiaalarm/data/data.py#L7 - v3.1.1 - 2023-04-17
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:pysiaalarm.data.data",
|
||||
@ -587,14 +592,6 @@ 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.7.6 - 2024-07-31
|
||||
# https://github.com/Cereal2nd/velbus-aio/blob/2024.7.6/velbusaio/handler.py#L22
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:velbusaio.handler",
|
||||
# - pyOpenSSL v24.2.1
|
||||
# https://pypi.org/project/acme/ - v2.11.0 - 2024-06-06
|
||||
"ignore:CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography:DeprecationWarning:acme.crypto_util",
|
||||
# https://pypi.org/project/josepy/ - v1.14.0 - 2023-11-01
|
||||
"ignore:CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography:DeprecationWarning:josepy.util",
|
||||
|
||||
# -- Python 3.13
|
||||
# HomeAssistant
|
||||
@ -608,7 +605,7 @@ filterwarnings = [
|
||||
# https://github.com/Uberi/speech_recognition/blob/3.11.0/speech_recognition/__init__.py#L7
|
||||
"ignore:'aifc' is deprecated and slated for removal in Python 3.13:DeprecationWarning:speech_recognition",
|
||||
# https://pypi.org/project/voip-utils/ - v0.2.0 - 2024-09-06
|
||||
# https://github.com/home-assistant-libs/voip-utils/blob/v0.2.0/voip_utils/rtp_audio.py#L3
|
||||
# https://github.com/home-assistant-libs/voip-utils/blob/0.2.0/voip_utils/rtp_audio.py#L3
|
||||
"ignore:'audioop' is deprecated and slated for removal in Python 3.13:DeprecationWarning:voip_utils.rtp_audio",
|
||||
|
||||
# -- Python 3.13 - unmaintained projects, last release about 2+ years
|
||||
|
Loading…
x
Reference in New Issue
Block a user