Skip to content
Snippets Groups Projects
Unverified Commit b58af167 authored by Marc Mueller's avatar Marc Mueller Committed by GitHub
Browse files

Update RestrictedPython to 7.0 (#104117)

parent cd27b0e9
Branches
Tags
No related merge requests found
...@@ -5,8 +5,5 @@ ...@@ -5,8 +5,5 @@
"documentation": "https://www.home-assistant.io/integrations/python_script", "documentation": "https://www.home-assistant.io/integrations/python_script",
"loggers": ["RestrictedPython"], "loggers": ["RestrictedPython"],
"quality_scale": "internal", "quality_scale": "internal",
"requirements": [ "requirements": ["RestrictedPython==7.0"]
"RestrictedPython==6.2;python_version<'3.12'",
"RestrictedPython==7.0a1.dev0;python_version>='3.12'"
]
} }
...@@ -505,8 +505,6 @@ filterwarnings = [ ...@@ -505,8 +505,6 @@ filterwarnings = [
"ignore:python-telegram-bot is using upstream urllib3:UserWarning:telegram.utils.request", "ignore:python-telegram-bot is using upstream urllib3:UserWarning:telegram.utils.request",
# https://github.com/ludeeus/pytraccar/pull/15 - >1.0.0 # https://github.com/ludeeus/pytraccar/pull/15 - >1.0.0
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:pytraccar.client", "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 # 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", "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 # https://github.com/Bluetooth-Devices/xiaomi-ble/pull/59 - >0.21.1
......
...@@ -121,10 +121,7 @@ PyXiaomiGateway==0.14.3 ...@@ -121,10 +121,7 @@ PyXiaomiGateway==0.14.3
RachioPy==1.0.3 RachioPy==1.0.3
# homeassistant.components.python_script # homeassistant.components.python_script
RestrictedPython==6.2;python_version<'3.12' RestrictedPython==7.0
# homeassistant.components.python_script
RestrictedPython==7.0a1.dev0;python_version>='3.12'
# homeassistant.components.remember_the_milk # homeassistant.components.remember_the_milk
RtmAPI==0.7.2 RtmAPI==0.7.2
......
...@@ -106,10 +106,7 @@ PyXiaomiGateway==0.14.3 ...@@ -106,10 +106,7 @@ PyXiaomiGateway==0.14.3
RachioPy==1.0.3 RachioPy==1.0.3
# homeassistant.components.python_script # homeassistant.components.python_script
RestrictedPython==6.2;python_version<'3.12' RestrictedPython==7.0
# homeassistant.components.python_script
RestrictedPython==7.0a1.dev0;python_version>='3.12'
# homeassistant.components.remember_the_milk # homeassistant.components.remember_the_milk
RtmAPI==0.7.2 RtmAPI==0.7.2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment