Skip to content

Commit

Permalink
Update RestrictedPython to 7.0 (#104117)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Nov 17, 2023
1 parent cd27b0e commit b58af16
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions homeassistant/components/python_script/manifest.json
Expand Up @@ -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"]
}
2 changes: 0 additions & 2 deletions pyproject.toml
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions requirements_all.txt
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions requirements_test_all.txt
Expand Up @@ -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
Expand Down

0 comments on commit b58af16

Please sign in to comment.