From dfa9f0e11dbb11260c62b254d9583ceb31064516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 9 Jan 2023 03:17:39 +0200 Subject: [PATCH] Upgrade RestrictedPython to 6.0 (#85426) Required for Python 3.11. https://github.com/zopefoundation/RestrictedPython/blob/6.0/CHANGES.rst#60-2022-11-03 --- homeassistant/components/python_script/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/python_script/manifest.json b/homeassistant/components/python_script/manifest.json index 2bc2763e777..586873c2c9c 100644 --- a/homeassistant/components/python_script/manifest.json +++ b/homeassistant/components/python_script/manifest.json @@ -2,7 +2,7 @@ "domain": "python_script", "name": "Python Scripts", "documentation": "https://www.home-assistant.io/integrations/python_script", - "requirements": ["restrictedpython==5.2"], + "requirements": ["restrictedpython==6.0"], "codeowners": [], "quality_scale": "internal", "loggers": ["RestrictedPython"] diff --git a/requirements_all.txt b/requirements_all.txt index 4aa2deff3ba..9c3d97760c7 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2212,7 +2212,7 @@ renault-api==0.1.11 reolink-aio==0.1.3 # homeassistant.components.python_script -restrictedpython==5.2 +restrictedpython==6.0 # homeassistant.components.idteck_prox rfk101py==0.0.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 2dbbc254f3c..02204bb6928 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1551,7 +1551,7 @@ renault-api==0.1.11 reolink-aio==0.1.3 # homeassistant.components.python_script -restrictedpython==5.2 +restrictedpython==6.0 # homeassistant.components.rflink rflink==0.0.63