Skip to content

Commit bff16fd

Browse files
authored
Merge pull request #168 from opentensor/release/4.0.1
Release/4.0.1
2 parents 93b3761 + aca7953 commit bff16fd

File tree

6 files changed

+108
-82
lines changed

6 files changed

+108
-82
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,34 @@ jobs:
3232
if: matrix.platform.target == 'aarch64'
3333
uses: docker/setup-qemu-action@v3
3434

35-
- uses: actions/setup-python@v5
35+
- uses: actions/setup-python@v6
3636
with:
3737
python-version: "3.10"
3838

3939
- name: Build wheels
40-
uses: PyO3/maturin-action@v1.44.0
40+
uses: PyO3/maturin-action@v1.49.4
4141
with:
4242
target: ${{ matrix.platform.target }}
4343
args: >-
4444
--release
4545
--out dist
46-
--interpreter python3.9 python3.10 python3.11 python3.12 python3.13
46+
--interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
4747
${{ matrix.platform.target == 'aarch64' && '--features vendored-openssl' || '' }}
4848
sccache: 'true'
4949
manylinux: auto
50-
before-script-linux: (apt-get update && apt-get install -y apt-utils && apt-get install -y pkg-config libssl-dev) || (yum install openssl openssl-devel -y)
50+
before-script-linux: |
51+
if command -v yum &> /dev/null; then
52+
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
53+
54+
# If we're running on i686 we need to symlink libatomic
55+
# in order to build openssl with -latomic flag.
56+
if [[ ! -d "/usr/lib64" ]]; then
57+
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
58+
fi
59+
else
60+
# If we're running on debian-based system.
61+
apt update -y && apt-get install -y libssl-dev openssl pkg-config
62+
fi
5163
5264
- name: Upload wheels
5365
uses: actions/upload-artifact@v4
@@ -67,14 +79,14 @@ jobs:
6779
steps:
6880
- uses: actions/checkout@v4
6981

70-
- uses: actions/setup-python@v5
82+
- uses: actions/setup-python@v6
7183
with:
7284
python-version: "3.10"
7385
- name: Build wheels
74-
uses: PyO3/maturin-action@v1.44.0
86+
uses: PyO3/maturin-action@v1.49.4
7587
with:
7688
target: ${{ matrix.platform.target }}
77-
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
89+
args: --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
7890
sccache: 'true'
7991
- name: Upload wheels
8092
uses: actions/upload-artifact@v4
@@ -88,7 +100,7 @@ jobs:
88100
- uses: actions/checkout@v4
89101

90102
- name: Build sdist
91-
uses: PyO3/maturin-action@v1.44.0
103+
uses: PyO3/maturin-action@v1.49.4
92104
with:
93105
command: sdist
94106
args: --out dist
@@ -119,7 +131,7 @@ jobs:
119131
subject-path: 'wheels-*/*'
120132
- name: Publish to PyPI
121133
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
122-
uses: PyO3/maturin-action@v1.44.0
134+
uses: PyO3/maturin-action@v1.49.4
123135
with:
124136
command: upload
125137
args: --non-interactive --skip-existing wheels-*/*

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ cover/
7878
*.pot
7979

8080
# Django stuff:
81-
*.log
8281
local_settings.py
8382
db.sqlite3
8483
db.sqlite3-journal
@@ -177,7 +176,6 @@ cython_debug/
177176
!data/.gitkeep
178177

179178
# misc
180-
.DS_Store
181179
.env.local
182180
.env.development.local
183181
.env.test.local
@@ -196,7 +194,6 @@ yarn-error.log*
196194
**/dist/*
197195
**/runs/*
198196
**/env/*
199-
**/data/*
200197
**/.data/*
201198
**/tmp/*
202199

@@ -210,9 +207,4 @@ yarn-error.log*
210207
replicate.yaml
211208
**/run.sh
212209

213-
# Notebooks
214-
*.ipynb
215-
216210
tests/zombienet/bin/**/*
217-
218-
Cargo.lock

CHANGELOG.MD

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Changelog
22

3-
## 4.0.0
3+
## 4.0.1 /2025-1028
4+
5+
## What's Changed
6+
* Support Python 3.14 by @thewhaleking in https://github.com/opentensor/btwallet/pull/166
7+
8+
**Full Changelog**: https://github.com/opentensor/btwallet/compare/v4.0.0...v4.0.1
9+
10+
## 4.0.0 /2025-08-06
11+
12+
## What's Changed
413
* make when_created field optional for json file import by @camfairchild in https://github.com/opentensor/btwallet/pull/160
514
* Fix hotkeypub by @thewhaleking in https://github.com/opentensor/btwallet/pull/161
615

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bittensor_wallet"
3-
version = "4.0.0"
3+
version = "4.0.1"
44
edition = "2021"
55

66
[lib]
@@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
1010

1111
[dependencies]
1212
sp-core = "34.0.0"
13-
pyo3 = { version = "0.22.4", features = ["gil-refs"] }
13+
pyo3 = { version = "0.26.0", features = ["generate-import-lib"] }
1414
bip39 = { version = "2.0.0", features = ["rand"] }
1515
hex = "0.4.3"
1616
colored = "2.1.0"

0 commit comments

Comments
 (0)