Skip to content

Commit e1d5e29

Browse files
committed
Merge branch 'bump_coincurve'
2 parents 6769652 + fa7a475 commit e1d5e29

6 files changed

Lines changed: 23 additions & 7 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build:
11-
runs-on: ubuntu-latest
10+
tests:
1211
strategy:
1312
matrix:
1413
python-version: [3.6, 3.7, 3.8, 3.9]
14+
os:
15+
- ubuntu-latest
16+
- macOS-latest
17+
- windows-latest
1518

19+
runs-on: ${{ matrix.os }}
1620
steps:
1721
- uses: actions/checkout@v2
1822
- name: Set up Python ${{ matrix.python-version }}

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
## Next
1+
## 1.0
22

33
- Added test vector #4 for private keys with leading zeros (see https://github.com/bitcoin/bips/pull/1030)
4+
- (**Breaking**) Bumped Coincurve dependency to `0.15`
5+
- Re-arranged the 2 dependencies to use "compatible release" notation
46

57
## 0.1
68

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ pip install bip32
3838

3939
This uses [`coincurve`](https://github.com/ofek/coincurve) as a wrapper for [`libsecp256k1`](https://github.com/bitcoin-core/secp256k1) for EC operations.
4040

41+
### Running the test suite
42+
43+
```
44+
# From the root of the repository
45+
python3 -m venv venv
46+
. venv/bin/activate
47+
pip install -r requirements.txt && pip install pytest
48+
PYTHONPATH=$PYTHONPATH:$PWD/bip32 pytest -vvv
49+
```
50+
4151
## Interface
4252

4353
All public keys below are compressed.

bip32/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .bip32 import BIP32, PrivateDerivationError, InvalidInputError
22
from .utils import BIP32DerivationError, HARDENED_INDEX
33

4-
__version__ = "0.1"
4+
__version__ = "1.0"
55

66
__all__ = [
77
"BIP32",

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
coincurve>=13.0.0,<14.0.0
2-
base58>=2.0.0,<3.0.0
1+
coincurve~=15.0
2+
base58~=2.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(name="bip32",
1313
version=bip32.__version__,
14-
description="Python implementation of the BIP32 key derivation scheme",
14+
description="Minimalistic implementation of the BIP32 key derivation scheme",
1515
long_description=long_description,
1616
long_description_content_type="text/markdown",
1717
url="http://github.com/darosior/python-bip32",

0 commit comments

Comments
 (0)