Skip to content

Commit 5ba94e3

Browse files
authored
Support Python 3.10 (#88)
1 parent 502b113 commit 5ba94e3

File tree

5 files changed

+323
-310
lines changed

5 files changed

+323
-310
lines changed

Diff for: .github/workflows/publish.yml renamed to .github/workflows/cd.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
name: Publish
1+
name: CD
22

33
on:
4-
push:
5-
tags:
6-
- v*
4+
release:
5+
types: [published]
76

87
jobs:
9-
build:
8+
publish:
109
runs-on: ubuntu-latest
1110

1211
steps:
1312
- uses: actions/checkout@v2
1413

1514
- uses: actions/setup-python@v2
1615
with:
17-
python-version: 3.9
16+
python-version: "3.10"
1817

1918
- uses: abatilo/[email protected]
2019
with:
21-
poetry-version: 1.1.5
20+
poetry-version: 1.1.12
2221

2322
- name: Install dependencies
2423
run: poetry install

Diff for: .github/workflows/build.yml renamed to .github/workflows/ci.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Build
4+
name: CI
55

66
on:
77
push:
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
17-
python_version: ["3.6", "3.7", "3.8", "3.9"]
17+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1818

1919
runs-on: ${{ matrix.os }}
2020

@@ -23,17 +23,20 @@ jobs:
2323

2424
- uses: actions/setup-python@v2
2525
with:
26-
python-version: ${{ matrix.python_version }}
26+
python-version: ${{ matrix.python-version }}
2727

2828
- uses: actions/cache@v2
2929
with:
3030
path: |
3131
~/.cache/pypoetry/virtualenvs
32-
key: ${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
32+
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
3333

3434
- uses: abatilo/[email protected]
3535
with:
36-
poetry-version: 1.1.5
36+
poetry-version: 1.1.12
37+
38+
- run: brew install automake
39+
if: matrix.os == 'macos-latest'
3740

3841
- name: Install dependencies
3942
run: poetry install

Diff for: README.md

+16
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,19 @@ True
2828
>>> get_eth_addr(pk)
2929
'0x7aD23D6eD9a1D98E240988BED0d78e8C81Ec296C'
3030
```
31+
32+
## Release Notes
33+
34+
### 0.1.1
35+
36+
- Support Python 3.10
37+
- Bump dependencies
38+
39+
### 0.1.0
40+
41+
- First beta release
42+
- Bump dependencies
43+
44+
### 0.0.1 ~ 0.0.7
45+
46+
- Alpha releases

0 commit comments

Comments
 (0)