mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Update pytest warnings filter (#115275)
This commit is contained in:
parent
d9fc9f2e0c
commit
db38da8eb8
@ -488,6 +488,8 @@ filterwarnings = [
|
||||
"ignore:datetime.*utcfromtimestamp\\(\\) is deprecated and scheduled for removal:DeprecationWarning:aiopurpleair.helpers.validators",
|
||||
# https://github.com/DataDog/datadogpy/pull/290 - >=0.23.0
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*datadog.dogstatsd.base",
|
||||
# https://github.com/DataDog/datadogpy/pull/566/files - >=0.37.0
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:datadog.util.compat",
|
||||
# https://github.com/fwestenberg/devialet/pull/6 - >1.4.5
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:devialet.devialet_api",
|
||||
# https://github.com/jaraco/jaraco.abode/commit/9e3e789efc96cddcaa15f920686bbeb79a7469e0 - update jaraco.abode to >=5.1.0
|
||||
@ -504,13 +506,23 @@ filterwarnings = [
|
||||
"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/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/grahamwetzler/smart-meter-texas/pull/143 - >0.5.3
|
||||
"ignore:ssl.OP_NO_SSL\\*/ssl.OP_NO_TLS\\* options are deprecated:DeprecationWarning:smart_meter_texas",
|
||||
# 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",
|
||||
|
||||
# -- fixed for Python 3.13
|
||||
# https://github.com/rhasspy/wyoming/commit/e34af30d455b6f2bb9e5cfb25fad8d276914bc54 - >=1.4.2
|
||||
"ignore:'audioop' is deprecated and slated for removal in Python 3.13:DeprecationWarning:wyoming.audio",
|
||||
|
||||
# -- other
|
||||
# Locale changes might take some time to resolve upstream
|
||||
"ignore:'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15:DeprecationWarning:micloud.micloud",
|
||||
@ -537,15 +549,47 @@ filterwarnings = [
|
||||
# https://pypi.org/project/pyblackbird/ - v0.6 - 2023-03-15
|
||||
# https://github.com/koolsb/pyblackbird/pull/9 -> closed
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*pyblackbird",
|
||||
# https://pypi.org/project/pybotvac/ - v0.0.24 - 2023-01-02
|
||||
# https://github.com/stianaske/pybotvac/pull/81 -> closed
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*pybotvac.robot",
|
||||
# https://github.com/pkkid/python-plexapi/pull/1244 - v4.15.10 -> new issue same file
|
||||
# https://github.com/pkkid/python-plexapi/pull/1244 - v4.15.11 -> new issue same file
|
||||
# https://github.com/pkkid/python-plexapi/pull/1370 -> Not fixed here
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*plexapi.base",
|
||||
# https://pypi.org/project/pyws66i/ - v1.1 - 2022-04-05
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*pyws66i",
|
||||
# https://pypi.org/project/sleekxmppfs/ - v1.4.1 - 2022-08-18
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*sleekxmppfs.thirdparty.mini_dateutil",
|
||||
# - pkg_resources
|
||||
# https://pypi.org/project/aiomusiccast/ - v0.14.8 - 2023-03-20
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:aiomusiccast",
|
||||
# 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",
|
||||
# https://pypi.org/project/pybotvac/ - v0.0.25 - 2024-04-11
|
||||
"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.0
|
||||
# https://github.com/Cereal2nd/velbus-aio/blob/2024.4.0/velbusaio/handler.py#L13
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:velbusaio.handler",
|
||||
|
||||
# -- Python 3.13
|
||||
# HomeAssistant
|
||||
"ignore:'audioop' is deprecated and slated for removal in Python 3.13:DeprecationWarning:homeassistant.components.assist_pipeline.websocket_api",
|
||||
# https://pypi.org/project/pylutron/ - v0.2.12 - 2024-02-12
|
||||
# https://github.com/thecynic/pylutron/issues/89
|
||||
"ignore:'telnetlib' is deprecated and slated for removal in Python 3.13:DeprecationWarning:pylutron",
|
||||
# https://pypi.org/project/SpeechRecognition/ - v3.10.3 - 2024-03-30
|
||||
# https://github.com/Uberi/speech_recognition/blob/3.10.3/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.1.0 - 2023-06-28
|
||||
# https://github.com/home-assistant-libs/voip-utils/blob/v0.1.0/voip_utils/rtp_audio.py#L2
|
||||
"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
|
||||
# https://pypi.org/project/pydub/ - v0.25.1 - 2021-03-10
|
||||
"ignore:'audioop' is deprecated and slated for removal in Python 3.13:DeprecationWarning:pydub.utils",
|
||||
# https://github.com/heathbar/plum-lightpad-python/issues/7 - v0.0.11 - 2018-10-16
|
||||
"ignore:'telnetlib' is deprecated and slated for removal in Python 3.13:DeprecationWarning:plumlightpad.lightpad",
|
||||
# https://pypi.org/project/pyws66i/ - v1.1 - 2022-04-05
|
||||
# https://github.com/ssaenger/pyws66i/blob/v1.1/pyws66i/__init__.py#L2
|
||||
"ignore:'telnetlib' is deprecated and slated for removal in Python 3.13:DeprecationWarning:pyws66i",
|
||||
|
||||
# -- unmaintained projects, last release about 2+ years
|
||||
# https://pypi.org/project/agent-py/ - v0.0.23 - 2020-06-04
|
||||
@ -559,6 +603,10 @@ filterwarnings = [
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:directv.models",
|
||||
# https://pypi.org/project/foobot_async/ - v1.0.0 - 2020-11-24
|
||||
"ignore:with timeout\\(\\) is deprecated:DeprecationWarning:foobot_async",
|
||||
# https://pypi.org/project/habitipy/ - v0.3.0 - 2019-01-14
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:habitipy.api",
|
||||
# https://pypi.org/project/httpsig/ - v1.3.0 - 2018-11-28
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:httpsig",
|
||||
# https://pypi.org/project/influxdb/ - v5.3.1 - 2020-11-11 (archived)
|
||||
"ignore:datetime.*utcfromtimestamp\\(\\) is deprecated and scheduled for removal:DeprecationWarning:influxdb.line_protocol",
|
||||
# https://pypi.org/project/lark-parser/ - v0.12.0 - 2021-08-30 -> moved to `lark`
|
||||
@ -575,6 +623,8 @@ filterwarnings = [
|
||||
"ignore:\"is not\" with 'int' literal. Did you mean \"!=\"?:SyntaxWarning:.*opuslib.api.decoder",
|
||||
# https://pypi.org/project/passlib/ - v1.7.4 - 2020-10-08
|
||||
"ignore:'crypt' is deprecated and slated for removal in Python 3.13:DeprecationWarning:passlib.utils",
|
||||
# https://pypi.org/project/pilight/ - v0.1.1 - 2016-10-19
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:pilight",
|
||||
# https://pypi.org/project/plumlightpad/ - v0.0.11 - 2018-10-16
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*plumlightpad.plumdiscovery",
|
||||
"ignore:\"is\" with 'int' literal. Did you mean \"==\"?:SyntaxWarning:.*plumlightpad.(lightpad|logicalload)",
|
||||
@ -586,6 +636,10 @@ filterwarnings = [
|
||||
"ignore:\"is\" with 'int' literal. Did you mean \"==\"?:SyntaxWarning:.*pyiss",
|
||||
# https://pypi.org/project/PyMetEireann/ - v2021.8.0 - 2021-08-16
|
||||
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:meteireann",
|
||||
# https://pypi.org/project/pyowm/ - v3.3.0 - 2022-02-14
|
||||
# https://github.com/csparpa/pyowm/issues/435
|
||||
# https://github.com/csparpa/pyowm/blob/3.3.0/pyowm/commons/cityidregistry.py#L7
|
||||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:pyowm.commons.cityidregistry",
|
||||
# https://pypi.org/project/PyPasser/ - v0.0.5 - 2021-10-21
|
||||
"ignore:invalid escape sequence:SyntaxWarning:.*pypasser.utils",
|
||||
# https://pypi.org/project/pyqwikswitch/ - v0.94 - 2019-08-19
|
||||
|
Loading…
x
Reference in New Issue
Block a user