mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
pyln: Use poetry and PEP 517 locks for the root project
Allows us to just rely on `poetry` to manage our dependencies, should finally solve all the `mrkd`, `mako` and `mistune` issues we've had for a while.
This commit is contained in:
committed by
Rusty Russell
parent
4b9bf22193
commit
49d2779078
1254
poetry.lock
generated
Normal file
1254
poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
pyproject.toml
Normal file
31
pyproject.toml
Normal file
@@ -0,0 +1,31 @@
|
||||
[tool.poetry]
|
||||
name = "cln-meta-project"
|
||||
version = "0.1.0"
|
||||
description = "Just a helper to get our python dependencies under control"
|
||||
authors = ["Christian Decker <cdecker@blockstream.com>"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
# Build dependencies belong here
|
||||
python = "^3.7"
|
||||
pyln-client = { path = "contrib/pyln-client" }
|
||||
pyln-proto = { path = "contrib/pyln-proto" }
|
||||
Mako = "^1.1.6"
|
||||
mrkd = "^0.2.0"
|
||||
websocket-client = "^1.2.3"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
# Test dependencies and inherited dependencies belong here
|
||||
crc32c = "^2.2.post0" # Belongs to lnprototest
|
||||
pytest-xdist = "^2.5.0"
|
||||
mistune = "0.8.4" # Belongs to pyln-proto
|
||||
pytest-test-groups = "^1.0.3"
|
||||
pytest-timeout = "^2.1.0"
|
||||
flake8 = "^4.0.1"
|
||||
mypy = "^0.931"
|
||||
pytest-custom-exit-code = "0.3.0"
|
||||
pyln-testing = { path = "contrib/pyln-testing" }
|
||||
flaky = "^3.7.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
@@ -1,15 +0,0 @@
|
||||
# Dependencies required to build and test c-lightning
|
||||
mrkd ~= 0.1.6
|
||||
Mako ~= 1.1.3
|
||||
flake8 ~= 3.7.8
|
||||
websocket-client
|
||||
|
||||
./contrib/pyln-client
|
||||
./contrib/pyln-proto
|
||||
./contrib/pyln-testing
|
||||
|
||||
# Dependencies from pyln-spec
|
||||
# None
|
||||
|
||||
# Dependencies from lnprototest
|
||||
crc32c
|
||||
Reference in New Issue
Block a user