mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[homeassistant] Update python packages (#19768)
This was missed when bringing the rest of the Python code up to date with current Home Assistant. Also commit the lockfile, which is a new feature thanks to GraalPy 25. Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# This file was generated by maven goal 'org.graalvm.python:graalpy-maven-plugin:lock-packages'.
|
||||
#
|
||||
# WARNING: Any manual changes are done at your own risk and will be overwritten when the goal is executed.
|
||||
#
|
||||
# This file is meant to be tracked in a version control system.
|
||||
#
|
||||
# This file contains a list of all required Python packages with their specific versions,
|
||||
# based on the packages defined in the plugin configuration and their dependencies.
|
||||
# graalpy-version: 25.0.1
|
||||
# input-packages: awesomeversion==25.8.0,Jinja2==3.1.6,python-slugify==8.0.4
|
||||
awesomeversion==25.8.0
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.3
|
||||
python-slugify==8.0.4
|
||||
text-unidecode==1.3
|
||||
@@ -125,6 +125,14 @@
|
||||
<groupId>org.graalvm.python</groupId>
|
||||
<artifactId>graalpy-maven-plugin</artifactId>
|
||||
<version>${graalvm.version}</version>
|
||||
<configuration>
|
||||
<packages>
|
||||
<package>awesomeversion==25.8.0</package>
|
||||
<package>Jinja2==3.1.6</package>
|
||||
<package>python-slugify==8.0.4</package>
|
||||
</packages>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-python-packages</id>
|
||||
@@ -132,13 +140,6 @@
|
||||
<goal>process-graalpy-resources</goal>
|
||||
</goals>
|
||||
<phase>generate-resources</phase>
|
||||
<configuration>
|
||||
<packages>
|
||||
<package>awesomeversion==24.6.0</package>
|
||||
<package>Jinja2==3.1.6</package>
|
||||
<package>python-slugify==8.0.4</package>
|
||||
</packages>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- yes, this is the same as above, but it needs run again to regenerate the filelist with our .pyc files -->
|
||||
<execution>
|
||||
@@ -147,13 +148,6 @@
|
||||
<goal>process-graalpy-resources</goal>
|
||||
</goals>
|
||||
<phase>process-resources</phase>
|
||||
<configuration>
|
||||
<packages>
|
||||
<package>awesomeversion==24.6.0</package>
|
||||
<package>Jinja2==3.1.6</package>
|
||||
<package>python-slugify==8.0.4</package>
|
||||
</packages>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
+1
@@ -36,6 +36,7 @@ from jinja2.utils import Namespace
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.exceptions import TemplateError
|
||||
from homeassistant.util import (
|
||||
dt as dt_util,
|
||||
slugify as slugify_util,
|
||||
|
||||
Reference in New Issue
Block a user