From 65ccbcfe472561f91ff592feaa09c9fe00db7d3c Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 24 Aug 2023 11:07:10 +0200 Subject: [PATCH] proto: update the bitstring dep This is an alternative version to [1] that update only the necessary information around our codebase to upgrade the bitstring package. This upgrade is necessary for the user of our package that will find conflics in their codebase about packages version. [1] https://github.com/ElementsProject/lightning/pull/6585 Co-Developed-by: @dni Chanegelog-None Signed-off-by: Vincenzo Palazzo --- contrib/pyln-proto/pyln/proto/zbase32.py | 2 +- contrib/pyln-proto/pyproject.toml | 2 +- poetry.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/pyln-proto/pyln/proto/zbase32.py b/contrib/pyln-proto/pyln/proto/zbase32.py index 22a575a1524d..a5b5d607dfc9 100644 --- a/contrib/pyln-proto/pyln/proto/zbase32.py +++ b/contrib/pyln-proto/pyln/proto/zbase32.py @@ -1,4 +1,4 @@ -import bitstring # type: ignore +import bitstring from typing import Union diff --git a/contrib/pyln-proto/pyproject.toml b/contrib/pyln-proto/pyproject.toml index 9b6bdb71ea88..8beb5c1b8ff2 100644 --- a/contrib/pyln-proto/pyproject.toml +++ b/contrib/pyln-proto/pyproject.toml @@ -13,7 +13,7 @@ packages = [ [tool.poetry.dependencies] python = "^3.8" base58 = "^2.1.1" -bitstring = "^3" +bitstring = "^4.1.0" coincurve = "^18" cryptography = "^41" PySocks = "^1" diff --git a/poetry.lock b/poetry.lock index 1fbac508bfad..278d452e4d98 100644 --- a/poetry.lock +++ b/poetry.lock @@ -48,7 +48,7 @@ tests = ["PyHamcrest (>=2.0.2)", "mypy", "pytest (>=4.6)", "pytest-benchmark", " [[package]] name = "bitstring" -version = "3.1.9" +version = "4.1.0" description = "Simple construction, analysis and modification of binary data." optional = false python-versions = "*"