Files
palladum-lightning/pyproject.toml
Christian Decker 7a7a48c34d chore: Update python dependencies
I got a bit annoyed by all the "your protobuf gencode is too old"
warnings in downstream packages, so I spent a bit of time updating any
stale dependency and now we're back allowing packages up to the latest
release. That should maximize the compatibility, and allow downstream
packages to chose their own versions, as long as they are
compatible (semantic versioning).
2025-10-01 11:41:06 +09:30

67 lines
1.6 KiB
TOML

[project]
name = "cln-meta-project"
version = "0.1.0"
description = "Just a helper to get our python dependencies under control"
authors = [{ name = "Christian Decker", email = "cdecker@blockstream.com" }]
requires-python = ">=3.9,<4.0"
dependencies = [
"Mako>=1.1.6",
"websocket-client>=1.2.3",
"grpcio-tools==1.75.1",
"grpcio==1.75.1",
# We want a specific version of protobuf to match CI's .github/scripts/setup.sh
"protobuf==6.32.1",
"cryptography>=46",
"pyln-client",
"pyln-proto",
"pyln-grpc-proto",
]
package-mode = false
[dependency-groups]
dev = [
# Test dependencies and inherited dependencies belong here
"crc32c>=2.2.post0", # Belongs to lnprototest
"pytest>=8.0.0",
"pytest-xdist>=3.6.0",
"pytest-test-groups>=1.2.0",
"pytest-timeout>=2.4.0",
"flake8>=7.0",
"pytest-custom-exit-code==0.3.0",
"flaky>=3.7.0",
"requests>=2.32.0",
"flask-socketio>=5",
]
[project.optional-dependencies]
grpc = ["pyln-testing"]
[tool.poetry]
package-mode = false
[tool.uv]
package = false
[tool.uv.workspace]
members = [
"contrib/pyln-client",
"contrib/pyln-proto",
"contrib/pyln-grpc-proto",
"plugins/wss-proxy",
"contrib/pyln-testing",
"contrib/pyln-spec/bolt1",
"contrib/pyln-spec/bolt2",
"contrib/pyln-spec/bolt4",
"contrib/pyln-spec/bolt7",
]
[tool.uv.sources]
pyln-client = { workspace = true }
pyln-proto = { workspace = true }
pyln-grpc-proto = { workspace = true }
wss-proxy = { workspace = true }
pyln-testing = { workspace = true }
pyln-bolt1 = { workspace = true }
pyln-bolt2 = { workspace = true }
pyln-bolt4 = { workspace = true }
pyln-bolt7 = { workspace = true }