Add support for Python 3.12 (#101651)

This commit is contained in:
Marc Mueller 2023-10-10 21:34:49 +02:00 committed by GitHub
parent 535e2b81ce
commit ba91aaa28d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 296 additions and 93 deletions

View file

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