autopilot: Migrate to poetry

This commit is contained in:
Christian Decker
2022-02-24 12:40:04 +01:00
parent 8717789595
commit f877537f8f
4 changed files with 1113 additions and 5 deletions

1091
autopilot/poetry.lock generated Normal file

File diff suppressed because it is too large Load Diff

21
autopilot/pyproject.toml Normal file
View File

@@ -0,0 +1,21 @@
[tool.poetry]
name = "cln-autopilot"
version = "0.1.0"
description = "Automatically manage lightning channels (OUTDATED)"
authors = ["Rene Pickhardt <@renepickhardt>"]
[tool.poetry.dependencies]
python = "^3.8"
networkx = ">=2.4"
pyln-client = "0.10.1"
dnspython = "^2.2.0"
numpy = "^1.22.2"
[tool.poetry.dev-dependencies]
pyln-testing = "0.10.1"
Flask = "^1.1.0"
MarkupSafe = "2.0.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

View File

@@ -1,4 +0,0 @@
dnspython>=1.16.0
networkx>=2.4
numpy>=1.16
pyln-client>=0.7.3

View File

@@ -9,7 +9,7 @@ plugin_opt = {'plugin': plugin_path}
def test_starts(node_factory):
l1 = node_factory.get_node()
l1 = node_factory.get_node(allow_broken_log=True)
# Test dynamically
l1.rpc.plugin_start(plugin_path)
l1.rpc.plugin_stop(plugin_path)