Introduce a Minimum Supported Python Version for Python plugins

Fixes https://github.com/lightningd/plugins/issues/146

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This commit is contained in:
Antoine Poinsot
2020-12-11 12:41:06 +01:00
committed by Christian Decker
parent 3923bc787f
commit 04eed3f595

View File

@@ -125,7 +125,9 @@ Running tests locally can be done like this:
pytest YOUR_PLUGIN/YOUR_TEST.py
```
### Additional dependencies
### Python plugins specifics
#### Additional dependencies
Additionally, some Python plugins come with a `requirements.txt` which can be
used to install the plugin's dependencies using the `pip` tools:
@@ -137,6 +139,12 @@ pip3 install -r requirements.txt
Note: You might need to also specify the `--user` command line flag depending on
your environment.
#### Minimum supported Python version
The minimum supported version of Python for this repository is currently `3.6.x` (23 Dec 2016).
Python plugins users must ensure to have a version `>= 3.6`.
Python plugins developers must ensure their plugin to work with all Python versions `>= 3.6`.
## More Plugins from the Community