Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RestrictedPython to 7.0 #104117

Merged
merged 1 commit into from Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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