Skip to content

Commit 9419b82

Browse files
authored
Merge pull request #866 from opentensor/release/9.19.0
Release/9.19.0
2 parents 447d53c + fee35cc commit 9419b82

29 files changed

+3007
-771
lines changed

.github/workflows/e2e-subtensor-tests.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ on:
2828
- testnet
2929
- devnet
3030
- devnet-ready
31+
custom_image_tag:
32+
description: "Custom docker image tag — overrides selection above (e.g. pr-2441)"
33+
required: false
34+
type: string
35+
default: ""
3136

3237
env:
3338
CARGO_TERM_COLOR: always
@@ -66,16 +71,25 @@ jobs:
6671
id: set-image
6772
env:
6873
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
INPUT_CUSTOM_TAG: ${{ github.event.inputs.custom_image_tag }}
75+
INPUT_CHOICE_TAG: ${{ github.event.inputs.docker_image_tag }}
6976
run: |
7077
echo "Event: $GITHUB_EVENT_NAME"
7178
echo "Branch: $GITHUB_REF_NAME"
7279
73-
# Check if docker_image_tag input is provided (for workflow_dispatch)
7480
if [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]; then
75-
docker_tag_input="${{ github.event.inputs.docker_image_tag }}"
76-
if [[ -n "$docker_tag_input" ]]; then
77-
image="ghcr.io/opentensor/subtensor-localnet:${docker_tag_input}"
78-
echo "Using Docker image tag from workflow_dispatch input: ${docker_tag_input}"
81+
custom_tag=$(echo "$INPUT_CUSTOM_TAG" | xargs)
82+
if [[ -n "$custom_tag" ]]; then
83+
image="ghcr.io/opentensor/subtensor-localnet:${custom_tag}"
84+
echo "Using custom docker image tag: ${custom_tag}"
85+
echo "✅ Final selected image: $image"
86+
echo "image=$image" >> "$GITHUB_OUTPUT"
87+
exit 0
88+
fi
89+
90+
if [[ -n "$INPUT_CHOICE_TAG" ]]; then
91+
image="ghcr.io/opentensor/subtensor-localnet:${INPUT_CHOICE_TAG}"
92+
echo "Using standard docker image tag: ${INPUT_CHOICE_TAG}"
7993
echo "✅ Final selected image: $image"
8094
echo "image=$image" >> "$GITHUB_OUTPUT"
8195
exit 0
@@ -163,7 +177,7 @@ jobs:
163177
os:
164178
- ubuntu-latest
165179
test-file: ${{ fromJson(needs.find-tests.outputs.test-files) }}
166-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
180+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
167181
steps:
168182
- name: Check-out repository
169183
uses: actions/checkout@v4
Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,27 @@
11
name: Ruff Formatter Check
2+
3+
concurrency:
4+
group: ruff-${{ github.event.pull_request.number || github.ref }}
5+
cancel-in-progress: true
6+
27
permissions:
38
contents: read
49

510
on:
611
pull_request:
7-
types: [opened, synchronize, reopened, edited]
12+
types: [opened, synchronize, reopened]
813

914
jobs:
1015
ruff:
1116
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
python-version: ["3.9.13"]
17+
timeout-minutes: 10
1518
steps:
1619
- name: Checkout repository
1720
uses: actions/checkout@v4
1821

19-
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v5
21-
with:
22-
python-version: ${{ matrix.python-version }}
23-
24-
- name: Set up caching for Ruff virtual environment
25-
id: cache-ruff
26-
uses: actions/cache@v4
27-
with:
28-
path: .venv
29-
key: v2-pypi-py-ruff-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
30-
restore-keys: |
31-
v2-pypi-py-ruff-${{ matrix.python-version }}-
32-
33-
- name: Set up Ruff virtual environment if cache is missed
34-
if: steps.cache-ruff.outputs.cache-hit != 'true'
35-
run: |
36-
python -m venv .venv
37-
.venv/bin/python -m pip install ruff==0.11.5
38-
3922
- name: Ruff format check
40-
run: |
41-
.venv/bin/ruff format --diff bittensor_cli
42-
.venv/bin/ruff format --diff tests
23+
uses: astral-sh/ruff-action@v3
24+
with:
25+
version: "0.11.5"
26+
args: "format --diff"
27+
src: "bittensor_cli tests"

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
30+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3131
steps:
3232
- name: Check-out repository
3333
uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# Changelog
22

3+
## 9.19.0 /2026-03-02
4+
5+
## What's Changed
6+
* fix: JSON output empty for `btcli subnets list --json-out` command by @GlobalStar117 in https://github.com/opentensor/btcli/pull/800
7+
* fix: disable wallet history command due to external API deprecation by @jose-blockchain in https://github.com/opentensor/btcli/pull/811
8+
* Reusable `create_table()` Utility for Consistent Table Styling by @eureka928 in https://github.com/opentensor/btcli/pull/790
9+
* fix: replace broad exception catches with specific exception types by @Achieve3318 in https://github.com/opentensor/btcli/pull/773
10+
* Improve disk caching by @thewhaleking in https://github.com/opentensor/btcli/pull/682
11+
* Feat/rework ck swap by @ibraheem-abe in https://github.com/opentensor/btcli/pull/792
12+
* Error message handled properly by @thewhaleking in https://github.com/opentensor/btcli/pull/814
13+
* Backmerge/9181 by @ibraheem-abe in https://github.com/opentensor/btcli/pull/816
14+
* Adds more to the debug section of the readme by @thewhaleking in https://github.com/opentensor/btcli/pull/817
15+
* Fix/proxy stake add remove by @ibraheem-abe in https://github.com/opentensor/btcli/pull/819
16+
* Fix/update proxy usage stuff by @ibraheem-abe in https://github.com/opentensor/btcli/pull/820
17+
* Feat: Add help cmd alias by @ibraheem-abe in https://github.com/opentensor/btcli/pull/821
18+
* Backmerge/9.18.1 by @ibraheem-abe in https://github.com/opentensor/btcli/pull/823
19+
* Feat/balancer swap updates by @ibraheem-abe in https://github.com/opentensor/btcli/pull/813
20+
* Handle different types in `sudo set` with arbitrary hyperparams by @thewhaleking in https://github.com/opentensor/btcli/pull/825
21+
* Update: Python 3.9 End of Life by @ibraheem-abe in https://github.com/opentensor/btcli/pull/829
22+
* Optimises the workflow for ruff. by @thewhaleking in https://github.com/opentensor/btcli/pull/831
23+
* Optimises the workflow for ruff. by @thewhaleking in https://github.com/opentensor/btcli/pull/832
24+
* feat: Add hyperparams: sudo_set_sn_owner_hotkey, sudo_set_subnet_owner_hotkey, sudo_set_recycle_or_burn by @MkDev11 in https://github.com/opentensor/btcli/pull/827
25+
* subnet buyback / stake-burn by @ibraheem-abe in https://github.com/opentensor/btcli/pull/818
26+
* Fix: Update test_stake_burn by @ibraheem-abe in https://github.com/opentensor/btcli/pull/837
27+
* Feat: Updated MevShield mechanics by @ibraheem-abe in https://github.com/opentensor/btcli/pull/828
28+
* docs: fix typo in README (pacakge → package) by @GeObts in https://github.com/opentensor/btcli/pull/839
29+
* Fix: Remove old mev_shield artifact from stake_burn by @ibraheem-abe in https://github.com/opentensor/btcli/pull/842
30+
* Revert "Feat/balancer swap updates" by @ibraheem-abe in https://github.com/opentensor/btcli/pull/836
31+
* Update/CK swap error handling by @ibraheem-abe in https://github.com/opentensor/btcli/pull/844
32+
* Tests: Add custom tags for docker images in e2e by @ibraheem-abe in https://github.com/opentensor/btcli/pull/848
33+
* Update: Cap MeV shield txs era to 8 by @ibraheem-abe in https://github.com/opentensor/btcli/pull/850
34+
* Update: Enforce era 'always' for mev_shield txs by @ibraheem-abe in https://github.com/opentensor/btcli/pull/851
35+
* Adds max_allowed_uids hyperparam for setting by @thewhaleking in https://github.com/opentensor/btcli/pull/852
36+
* Applies type hint to to `process_nested` by @thewhaleking in https://github.com/opentensor/btcli/pull/856
37+
* Update/runtime update by @ibraheem-abe in https://github.com/opentensor/btcli/pull/857
38+
* feat: add support for the `--all` to proxy remove by @eureka928 in https://github.com/opentensor/btcli/pull/834
39+
* Adds signed commits info to docs by @thewhaleking in https://github.com/opentensor/btcli/pull/859
40+
* Add better typing by @thewhaleking in https://github.com/opentensor/btcli/pull/858
41+
* Update: Pin btwallet requirement by @ibraheem-abe in https://github.com/opentensor/btcli/pull/864
42+
43+
## New Contributors
44+
* @GlobalStar117 made their first contribution in https://github.com/opentensor/btcli/pull/800
45+
* @jose-blockchain made their first contribution in https://github.com/opentensor/btcli/pull/811
46+
* @Achieve3318 made their first contribution in https://github.com/opentensor/btcli/pull/773
47+
* @GeObts made their first contribution in https://github.com/opentensor/btcli/pull/839
48+
49+
**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.18.1...v9.19.0
50+
351
## 9.18.1 /2026-02-05
452

553
## What's Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can install `btcli` on your local machine directly from source, PyPI, or Hom
4545
Note that the macOS preinstalled CPython installation is compiled with LibreSSL instead of OpenSSL. There are a number
4646
of issues with LibreSSL, and as such is not fully supported by the libraries used by btcli. Thus we highly recommend, if
4747
you are using a Mac, to first install Python from [Homebrew](https://brew.sh/). Additionally, the Rust FFI bindings
48-
[if installing from precompiled wheels (default)] require the Homebrew-installed OpenSSL pacakge. If you choose to use
48+
[if installing from precompiled wheels (default)] require the Homebrew-installed OpenSSL package. If you choose to use
4949
the preinstalled Python version from macOS, things may not work completely.
5050

5151

0 commit comments

Comments
 (0)