]> git.basschouten.com Git - openhab-addons.git/commitdiff
[jythonscripting] Add a note not to use jython (#15623)
authorjimtng <2554958+jimtng@users.noreply.github.com>
Sun, 8 Oct 2023 10:55:05 +0000 (20:55 +1000)
committerGitHub <noreply@github.com>
Sun, 8 Oct 2023 10:55:05 +0000 (12:55 +0200)
* [jythonscripting] Add a note not to use jython
* [jythonscripting] Mark as deprecated

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
bundles/org.openhab.automation.jythonscripting/README.md
bundles/org.openhab.automation.jythonscripting/src/main/resources/OH-INF/addon/addon.xml

index f124da39a2eda0c19bec37be7a072c9768877298..a19cc512a6245e055ccf163fc7c2d2a0d6bb7074 100644 (file)
@@ -1,4 +1,11 @@
-# Jython Scripting
+# Jython Scripting (DEPRECATED)
+
+::: tip Note:
+Currently, the development of Jython stopped at version 2.7 with no definite timeline to support Python 3.x.
+The 3rd party openHAB helper library for Jython is also no longer maintained.
+We would not recommend using Jython scripting at this point in time.
+For alternatives, check out the list of other supported [automation add-ons](https://www.openhab.org/addons/#automation).
+:::
 
 This add-on provides [Jython](https://www.jython.org/) 2.7.2 that can be used as a scripting language within automation rules and which eliminates the need to download Jython and create `EXTRA_JAVA_OPTS` entries for `bootclasspath`, `python.home` and `python.path`.
 
index b3bf3cf5a8f9c18f1cf7647a4591c00153c0277d..b6a78869b5b2be408b9909bdc996cddd1a753f8c 100644 (file)
@@ -4,7 +4,7 @@
        xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
 
        <type>automation</type>
-       <name>Jython Scripting</name>
+       <name>Jython Scripting (DEPRECATED)</name>
        <description>This adds a Jython script engine.</description>
        <connection>none</connection>