Update pytest warnings filter (#155252)

This commit is contained in:
Marc Mueller
2025-10-27 11:43:37 +01:00
committed by GitHub
parent 4e6bd48416
commit 7c4406265a

View File

@@ -480,10 +480,8 @@ filterwarnings = [
"ignore:ssl.TLSVersion.SSLv3 is deprecated:DeprecationWarning:regenmaschine.client",
# -- Setuptools DeprecationWarnings
# https://github.com/googleapis/google-cloud-python/issues/11184
# https://github.com/zopefoundation/meta/issues/194
# 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",
"ignore:Deprecated call to `pkg_resources.declare_namespace\\('azure'\\)`:DeprecationWarning:pkg_resources",
# -- tracked upstream / open PRs
# https://github.com/kbr/fritzconnection/pull/244 - v1.15.0 - 2025-05-17
@@ -571,8 +569,7 @@ filterwarnings = [
# https://pypi.org/project/pyiss/ - v1.0.1 - 2016-12-19
"ignore:\"is.*\" with '.*' literal:SyntaxWarning:importlib._bootstrap",
# - SyntaxWarning - return in finally
# https://github.com/nextcord/nextcord/pull/1268 - v3.1.1 - 2025-08-16
# https://github.com/Python-roborock/python-roborock/ - >=2.50.4
# https://github.com/nextcord/nextcord/pull/1268 - >3.1.1 - 2025-08-16
# https://pypi.org/project/sleekxmppfs/ - v1.4.1 - 2022-08-18
"ignore:'return' in a 'finally' block:SyntaxWarning:importlib._bootstrap",
@@ -583,26 +580,32 @@ filterwarnings = [
"ignore:telnetlib was removed in Python 3.13.*'standard-telnetlib':DeprecationWarning:ndms2_client.connection",
"ignore:telnetlib was removed in Python 3.13.*'standard-telnetlib':DeprecationWarning:pyws66i",
# -- Pydantic V1 models
# https://github.com/madpilot/amberelectric.py - v2.0.12 - 2024-11-19
"ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater:UserWarning:amberelectric.api.amber_api",
# https://github.com/elevenlabs/elevenlabs-python - v2.18.0 - 2024-10-14
"ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater:UserWarning:elevenlabs.core.pydantic_utilities",
# https://github.com/Lektrico/lektricowifi - v0.1 - 2025-05-19
"ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater:UserWarning:lektricowifi.models",
# https://github.com/bang-olufsen/mozart-open-api - v4.1.1.116.4 - 2025-01-22
"ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater:UserWarning:mozart_api.api.beolink_api",
# https://github.com/sstallion/sensorpush-api - v2.1.3 - 2025-06-10
"ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater:UserWarning:sensorpush_api.api.api_api",
# -- New in Python 3.14
# https://github.com/kumaraditya303/aioshutil - v1.5 - 2024-07-20
"ignore:'shutil.ExecError' is deprecated and slated for removal in Python 3.16:DeprecationWarning:aioshutil",
# https://github.com/litl/backoff/pull/220 - v2.2.1 - 2022-10-05 (archived)
"ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning:(backoff._decorator|backoff._async)",
# https://github.com/albertogeniola/elmax-api - v0.0.6.3 - 2024-11-30
"ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning:elmax_api.http",
# https://github.com/py-mine/mcstatus - v12.0.5 - 2025-08-13
"ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning:mcstatus.utils",
# https://github.com/nextcord/nextcord/pull/1269 - v3.1.1 - 2025-08-16
# https://github.com/nextcord/nextcord/pull/1269 - >3.1.1 - 2025-08-16
"ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning:nextcord.member",
# https://github.com/andrewsayre/pyheos/pull/124 - >1.0.5
"ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning:pyheos.dispatch",
# https://github.com/SteveEasley/pykaleidescape/pull/7 - v2022.2.6 - 2022-03-07
"ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning:kaleidescape.dispatcher",
# https://github.com/svinota/pyroute2
"ignore:Due to '_pack_', the '.*' Structure will use memory layout compatible with MSVC:DeprecationWarning:pyroute2.ethtool.ioctl",
# https://github.com/googleapis/python-genai
"ignore:'_UnionGenericAlias' is deprecated and slated for removal in Python 3.17:DeprecationWarning:google.genai.types",
# https://github.com/pyusb/pyusb
# https://github.com/pyusb/pyusb/issues/535
"ignore:Due to '_pack_', the '.*' Structure will use memory layout compatible with MSVC:DeprecationWarning:usb.backend.libusb0",
# -- Websockets 14.1