From 73d4aa34f6511d88bd5037505298f7efab8d0c18 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 23 Jan 2024 09:46:47 +0100 Subject: [PATCH 1/3] Bump coincurve max version to support 0.19 This version upgrade libsecp to latest. Fixes #39. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 87c5b1c..b461dd0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -coincurve>=15.0,<19 +coincurve>=15.0,<=19 base58~=2.0 From fa888b075f767fc0015e1c5f78229afbccfbd39b Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 23 Jan 2024 09:48:22 +0100 Subject: [PATCH 2/3] Release version 3.5 --- CHANGELOG.md | 5 ++++- bip32/__init__.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f944468..a0f29a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ +# 3.5 + +- Support Coincurve up to version 19. This version supports the latest libsecp. + # 3.4 - Support Coincurve up to version 18. This version includes support for BIP340 x-only keys and Schnorr signatures. - # 3.3 - Implement a pure Python fallback for RIPEMD160 in case `hashlib` does not provide it. diff --git a/bip32/__init__.py b/bip32/__init__.py index 475165a..c761904 100644 --- a/bip32/__init__.py +++ b/bip32/__init__.py @@ -1,7 +1,7 @@ from .bip32 import BIP32, PrivateDerivationError, InvalidInputError from .utils import BIP32DerivationError, HARDENED_INDEX -__version__ = "3.4" +__version__ = "3.5" __all__ = [ "BIP32", From eba1edf47caae8827ee86174c0fc92e121b3b13a Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 23 Jan 2024 09:53:30 +0100 Subject: [PATCH 3/3] [TMP] fixup Coincurve missing dependency under Windows --- .github/workflows/python-package.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 9c1b140..e69e840 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,7 +28,11 @@ jobs: python -m pip install --upgrade pip pip install pytest pip install -r requirements.txt -r tests/requirements.txt - python setup.py install + - name: Under Windows, install coincurve's missing `cffi` dependency + if: matrix.os == 'windows-latest' + run: pip install cffi + - name: Actually run the tests + run: python setup.py install - name: Test with pytest run: | pytest -vvv