Skip to content

Commit c8d04eb

Browse files
committed
Merge PR #28
2 parents ee13756 + 4777ae2 commit c8d04eb

5 files changed

Lines changed: 35 additions & 7 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
tests:
1111
strategy:
1212
matrix:
13-
python-version: [3.6, 3.7, 3.8, 3.9]
13+
python-version: [3.7, 3.8, 3.9, '3.10']
1414
os:
1515
- ubuntu-latest
1616
- macOS-latest
@@ -46,3 +46,23 @@ jobs:
4646
python -m pip install --upgrade pip
4747
pip install black
4848
python -m black --check bip32 tests
49+
50+
coincurve_versions:
51+
strategy:
52+
matrix:
53+
coincurve-version: [15, 16, 17]
54+
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v2
58+
- name: Set up Python 3.10
59+
uses: actions/setup-python@v2
60+
with:
61+
python-version: '3.10'
62+
- name: Testing with Coincurve ${{ matrix.coincurve-version }}
63+
run: |
64+
python -m pip install --upgrade pip
65+
pip install pytest
66+
pip install -r requirements.txt -r tests/requirements.txt
67+
pip install -I coincurve==${{ matrix.coincurve-version }}
68+
python setup.py install

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 3.0
2+
3+
This is a breaking release.
4+
5+
- Python 3.10 support.
6+
- Drop Python 3.6 support (EOL).
7+
- Support Coincurve up to version 17.
8+
19
# 2.1
210

311
- Two new methods were added: `get_xpub_bytes()` and `get_xpriv_bytes()`

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,18 @@ path.
112112
Note that you don't need to have provided the master private key if the path doesn't
113113
include an index `>= HARDENED_INDEX`.
114114

115-
### get_xpriv(path)
115+
#### get_xpriv(path)
116116

117117
Equivalent to `get_xpriv_from_path([])`.
118118

119-
### get_xpriv_bytes(path)
119+
#### get_xpriv_bytes(path)
120120

121121
Equivalent to `get_xpriv([])`, but not serialized in base58
122122

123-
### get_xpub(path)
123+
#### get_xpub(path)
124124

125125
Equivalent to `get_xpub_from_path([])`.
126126

127-
### get_xpub_bytes(path)
127+
#### get_xpub_bytes(path)
128128

129129
Equivalent to `get_xpub([])`, but not serialized in base58

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__ = "2.1"
4+
__version__ = "3.0"
55

66
__all__ = [
77
"BIP32",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
coincurve~=15.0
1+
coincurve>=15.0,<=17.*
22
base58~=2.0

0 commit comments

Comments
 (0)