Skip to content

Commit e0afbde

Browse files
chore: release 0.3.7 (#28)
Release 0.3.7 - Bump version to 0.3.7 - Fix pyproject.toml: add required version field - Fix CI: update deprecated GitHub Actions to v4/v5 - Fix Rust: fmt, clippy, docs (doc_auto_cfg removed) - Fix Poetry: update to 2.x, regenerate lock file
1 parent 7c252f8 commit e0afbde

File tree

11 files changed

+119
-91
lines changed

11 files changed

+119
-91
lines changed

.github/workflows/py.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout sources
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

15-
- uses: actions/setup-python@v2
15+
- uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.10"
1818

1919
- uses: abatilo/actions-poetry@v2
2020
with:
21-
poetry-version: "1.8.2"
21+
poetry-version: "2.1.1"
2222

2323
- name: Install deps
24-
run: poetry install
24+
run: poetry install --no-root
2525

2626
# May need to install Rust?
2727
- name: Build the Rust package

.github/workflows/release.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
#- s390x # blocked by ring>=0.17
3333
#- ppc64le # blocked by blst 0.3.11
3434
steps:
35-
- uses: actions/checkout@v3
36-
- uses: actions/setup-python@v4
35+
- uses: actions/checkout@v4
36+
- uses: actions/setup-python@v5
3737
with:
3838
python-version: '3.10'
3939
- name: Build wheels
@@ -48,9 +48,9 @@ jobs:
4848
args: --release --out dist --find-interpreter
4949
manylinux: auto
5050
- name: Upload wheels
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
with:
53-
name: wheels
53+
name: wheels-linux-${{ matrix.target }}
5454
path: dist
5555

5656
windows:
@@ -61,8 +61,8 @@ jobs:
6161
- x64
6262
# - x86 # x86 blocked by blst 0.3.11 build failure
6363
steps:
64-
- uses: actions/checkout@v3
65-
- uses: actions/setup-python@v4
64+
- uses: actions/checkout@v4
65+
- uses: actions/setup-python@v5
6666
with:
6767
python-version: '3.10'
6868
architecture: ${{ matrix.target }}
@@ -72,9 +72,9 @@ jobs:
7272
target: ${{ matrix.target }}
7373
args: --release --out dist --find-interpreter
7474
- name: Upload wheels
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
with:
77-
name: wheels
77+
name: wheels-windows-${{ matrix.target }}
7878
path: dist
7979

8080
macos:
@@ -83,8 +83,8 @@ jobs:
8383
matrix:
8484
target: [x86_64, aarch64]
8585
steps:
86-
- uses: actions/checkout@v3
87-
- uses: actions/setup-python@v4
86+
- uses: actions/checkout@v4
87+
- uses: actions/setup-python@v5
8888
with:
8989
python-version: '3.10'
9090
- name: Build wheels
@@ -93,24 +93,24 @@ jobs:
9393
target: ${{ matrix.target }}
9494
args: --release --out dist --find-interpreter
9595
- name: Upload wheels
96-
uses: actions/upload-artifact@v3
96+
uses: actions/upload-artifact@v4
9797
with:
98-
name: wheels
98+
name: wheels-macos-${{ matrix.target }}
9999
path: dist
100100

101101
sdist:
102102
runs-on: ubuntu-latest
103103
steps:
104-
- uses: actions/checkout@v3
104+
- uses: actions/checkout@v4
105105
- name: Build sdist
106106
uses: PyO3/maturin-action@v1
107107
with:
108108
command: sdist
109109
args: --out dist
110110
- name: Upload sdist
111-
uses: actions/upload-artifact@v3
111+
uses: actions/upload-artifact@v4
112112
with:
113-
name: wheels
113+
name: wheels-sdist
114114
path: dist
115115

116116
release:
@@ -123,9 +123,10 @@ jobs:
123123
# https://github.com/PyO3/maturin/issues/1575#issuecomment-1753785859
124124
id-token: write
125125
steps:
126-
- uses: actions/download-artifact@v3
126+
- uses: actions/download-artifact@v4
127127
with:
128-
name: wheels
128+
pattern: wheels-*
129+
merge-multiple: true
129130
- name: Publish to PyPI
130131
uses: PyO3/maturin-action@v1
131132
with:

.github/workflows/rust.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout sources
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515

1616
- name: Install stable toolchain
17-
uses: actions-rs/toolchain@v1
18-
with:
19-
profile: minimal
20-
toolchain: stable
21-
override: true
17+
uses: dtolnay/rust-toolchain@stable
2218

2319
- name: Cache deps
24-
uses: Swatinem/rust-cache@v1
20+
uses: Swatinem/rust-cache@v2
2521
with:
2622
cache-on-failure: true
2723

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyrevm"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
edition = "2021"
55

66
[lib]

poetry.lock

Lines changed: 52 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[project]
22
name = "pyrevm"
3+
version = "0.3.7"
34
requires-python = ">=3.7"
45
classifiers = [
56
"Programming Language :: Rust",
@@ -9,7 +10,7 @@ classifiers = [
910

1011
[tool.poetry]
1112
name = "pyrevm"
12-
version = "0.3.6" # Cargo.toml needs to be updated for releases
13+
version = "0.3.7"
1314
description = "Python bindings to rust evm (revm)"
1415
authors = ["Georgios Konstantopoulos <me@gakonst.com>", "Dani Popes", "Daniel Schiavini", "Charles Cooper"]
1516

0 commit comments

Comments
 (0)