py: Disentangle pyln dependencies

Turns out that the pyln-proto dependency in the bolt packages is only
needed for testing, not for production. Making it a dev-dependency
means it isn't considered in resolution anymore.

Since the bolt, testing and client packages are to be used outside
from the project we can't use relative dependencies either, so make
then dependent on the version on PyPI. This also means we had to push
a couple of updated to PyPI.

Changelog-None
This commit is contained in:
Christian Decker 2022-03-15 10:58:38 +01:00 committed by Rusty Russell
parent dbc77bcbc4
commit 722f2911df
6 changed files with 15 additions and 15 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pyln-client"
version = "0.10.2"
version = "0.10.2.post1"
description = "Client library and plugin library for c-lightning"
authors = ["Christian Decker <decker.christian@gmail.com>"]
license = "BSD-MIT"
@ -11,8 +11,8 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7"
pyln-proto = { path = "../pyln-proto" }
pyln-bolt7 = { path = "../pyln-spec/bolt7" }
pyln-bolt7 = "^1.0.186"
pyln-proto = "^0.10.2"
[tool.poetry.dev-dependencies]
pytest = "^7.0.1"

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pyln-proto"
version = "0.10.2"
version = "0.10.2.post1"
description = "This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing and some minor tooling only. It is not deemed secure enough to handle any amount of real funds (you have been warned!)."
authors = ["Christian Decker <decker.christian@gmail.com>"]
license = "BSD-MIT"

View File

@ -1,8 +1,8 @@
[tool.poetry]
name = "pyln-bolt1"
version = "1.0.1.187"
version = "1.0.1.187.post0"
description = ""
authors = ["Rusty Russell <@rustyrussell>"]
authors = ["Rusty Russell <rusty@blockstream.com>"]
license = "MIT"
packages = [
@ -11,9 +11,9 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7"
pyln-proto = {path = "../../pyln-proto"}
[tool.poetry.dev-dependencies]
pyln-proto = "^0.10.2"
[build-system]
requires = ["poetry-core>=1.0.0"]

View File

@ -1,8 +1,8 @@
[tool.poetry]
name = "pyln-bolt2"
version = "1.0.1.187"
version = "1.0.2.187.post0"
description = "A pure python implementation of BOLT2"
authors = ["Rusty Russell <@rustyrussell>"]
authors = ["Rusty Russell <rusty@blockstream.com>"]
license = "MIT"
packages = [
@ -11,9 +11,9 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7"
pyln-proto = {path = "../../pyln-proto"}
[tool.poetry.dev-dependencies]
pyln-proto = "^0.10.2"
[build-system]
requires = ["poetry-core>=1.0.0"]

View File

@ -1,8 +1,8 @@
[tool.poetry]
name = "pyln-bolt4"
version = "1.0.1.187"
version = "1.0.2.187.post0"
description = "A pure python implementation of BOLT4"
authors = ["Rusty Russell <@rustyrussell>"]
authors = ["Rusty Russell <rusty@blockstream.com>"]
license = "MIT"
packages = [
@ -11,9 +11,9 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7"
pyln-proto = {path = "../../pyln-proto"}
[tool.poetry.dev-dependencies]
pyln-proto = "^0.10.2"
[build-system]
requires = ["poetry-core>=1.0.0"]

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pyln-bolt7"
version = "1.0.186"
version = "1.0.2.186.post0"
description = "BOLT7"
authors = ["Rusty Russell"]
license = "BSD-MIT"
@ -11,9 +11,9 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7"
pyln-proto = { path = "../../pyln-proto" }
[tool.poetry.dev-dependencies]
pyln-proto = "^0.10.2"
[build-system]
requires = ["poetry-core>=1.0.0"]