Skip to content

Commit

Permalink
Support Python 3.10 (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
kigawas authored Nov 30, 2021
1 parent 502b113 commit 5ba94e3
Show file tree
Hide file tree
Showing 5 changed files with 323 additions and 310 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish.yml → .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
name: Publish
name: CD

on:
push:
tags:
- v*
release:
types: [published]

jobs:
build:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"

- uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.1.5
poetry-version: 1.1.12

- name: Install dependencies
run: poetry install
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Build
name: CI

on:
push:
Expand All @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python_version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

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

Expand All @@ -23,17 +23,20 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
python-version: ${{ matrix.python-version }}

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

- uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.1.5
poetry-version: 1.1.12

- run: brew install automake
if: matrix.os == 'macos-latest'

- name: Install dependencies
run: poetry install
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,19 @@ True
>>> get_eth_addr(pk)
'0x7aD23D6eD9a1D98E240988BED0d78e8C81Ec296C'
```

## Release Notes

### 0.1.1

- Support Python 3.10
- Bump dependencies

### 0.1.0

- First beta release
- Bump dependencies

### 0.0.1 ~ 0.0.7

- Alpha releases
Loading

0 comments on commit 5ba94e3

Please sign in to comment.