From be469b1ae17c920638d7017bc9d8c958c2726004 Mon Sep 17 00:00:00 2001 From: Kazuya Takei Date: Fri, 3 Dec 2021 15:33:54 +0900 Subject: [PATCH] Adjust python version of plugins for current specs (#1543) * Adjust python version of plugins for current specs * docs: add info to CHANGES Co-authored-by: Sijis Aviles --- CHANGES.rst | 1 + docs/user_guide/flow_development/basics.rst | 2 +- docs/user_guide/plugin_development/basics.rst | 2 +- errbot/templates/initdir/example.plug | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9753ee62f..96a89339c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,6 +19,7 @@ fixes: - core: various minor logging improvements (#1536) - chore: various minor formatting improvements (#1541) - docs: update spark plugin reference (#1546) +- fix: python 2 version references in docs and init template (#1543) v6.1.8 (2021-06-21) ------------------- diff --git a/docs/user_guide/flow_development/basics.rst b/docs/user_guide/flow_development/basics.rst index 536eb8a5b..5eac4960c 100644 --- a/docs/user_guide/flow_development/basics.rst +++ b/docs/user_guide/flow_development/basics.rst @@ -16,7 +16,7 @@ They are defined by a ``.flow`` file, similar to the plugin ones: Description = my documentation. [Python] - Version = 2+ + Version = 3 Now in the ``myflows.py`` file you will have pretty familiar structure with a ``BotFlow`` as type and @botflow diff --git a/docs/user_guide/plugin_development/basics.rst b/docs/user_guide/plugin_development/basics.rst index 968e6dbc3..697b01476 100644 --- a/docs/user_guide/plugin_development/basics.rst +++ b/docs/user_guide/plugin_development/basics.rst @@ -127,7 +127,7 @@ Lets go ahead and create ours. Place the following in a file called Module = helloworld [Python] - Version = 2+ + Version = 3 [Documentation] Description = Example "Hello, world!" plugin diff --git a/errbot/templates/initdir/example.plug b/errbot/templates/initdir/example.plug index 26c365791..40a315fe4 100644 --- a/errbot/templates/initdir/example.plug +++ b/errbot/templates/initdir/example.plug @@ -6,4 +6,4 @@ Module = example Description = This is a simple plugin example to get you started. [Python] -Version = 2+ +Version = 3