Update RestrictedPython to 7.0 (#104117)

This commit is contained in:
Marc Mueller 2023-11-17 13:01:06 +01:00 committed by GitHub
parent cd27b0e961
commit b58af167a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 14 deletions

View File

@ -5,8 +5,5 @@
"documentation": "https://www.home-assistant.io/integrations/python_script",
"loggers": ["RestrictedPython"],
"quality_scale": "internal",
"requirements": [
"RestrictedPython==6.2;python_version<'3.12'",
"RestrictedPython==7.0a1.dev0;python_version>='3.12'"
]
"requirements": ["RestrictedPython==7.0"]
}

View File

@ -505,8 +505,6 @@ filterwarnings = [
"ignore:python-telegram-bot is using upstream urllib3:UserWarning:telegram.utils.request",
# https://github.com/ludeeus/pytraccar/pull/15 - >1.0.0
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:pytraccar.client",
# https://github.com/zopefoundation/RestrictedPython/pull/259 - >7.0a1.dev0
"ignore:ast\\.(Str|Num) is deprecated and will be removed in Python 3.14:DeprecationWarning:RestrictedPython.transformer",
# 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/Bluetooth-Devices/xiaomi-ble/pull/59 - >0.21.1

View File

@ -121,10 +121,7 @@ PyXiaomiGateway==0.14.3
RachioPy==1.0.3
# homeassistant.components.python_script
RestrictedPython==6.2;python_version<'3.12'
# homeassistant.components.python_script
RestrictedPython==7.0a1.dev0;python_version>='3.12'
RestrictedPython==7.0
# homeassistant.components.remember_the_milk
RtmAPI==0.7.2

View File

@ -106,10 +106,7 @@ PyXiaomiGateway==0.14.3
RachioPy==1.0.3
# homeassistant.components.python_script
RestrictedPython==6.2;python_version<'3.12'
# homeassistant.components.python_script
RestrictedPython==7.0a1.dev0;python_version>='3.12'
RestrictedPython==7.0
# homeassistant.components.remember_the_milk
RtmAPI==0.7.2