Skip to content

Commit 4e6cc4a

Browse files
authored
Merge pull request #2805 from opentensor/release/9.3.0
Release/9.3.0
2 parents 35029c1 + 4cfa63e commit 4e6cc4a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2110
-271
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ workflows:
290290
- check_compatibility:
291291
python_version: "3.12"
292292
name: check-compatibility-3.12
293+
- check_compatibility:
294+
python_version: "3.13"
295+
name: check-compatibility-3.13
293296

294297

295298
pr-requirements:
@@ -302,7 +305,7 @@ workflows:
302305
- build-and-test:
303306
matrix:
304307
parameters:
305-
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7" ]
308+
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7"]
306309
requires:
307310
- check-if-pr-is-draft
308311
- unit-tests-all-python-versions:
@@ -311,7 +314,7 @@ workflows:
311314
- lint-and-type-check:
312315
matrix:
313316
parameters:
314-
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7" ]
317+
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7"]
315318
requires:
316319
- check-if-pr-is-draft
317320
#- coveralls:

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
5050

5151
- name: Pull Docker Image
52-
run: docker pull ghcr.io/opentensor/subtensor-localnet:latest
52+
run: docker pull ghcr.io/opentensor/subtensor-localnet:devnet-ready
5353

5454
- name: Save Docker Image to Cache
55-
run: docker save -o subtensor-localnet.tar ghcr.io/opentensor/subtensor-localnet:latest
55+
run: docker save -o subtensor-localnet.tar ghcr.io/opentensor/subtensor-localnet:devnet-ready
5656

5757
- name: Upload Docker Image as Artifact
5858
uses: actions/upload-artifact@v4
@@ -62,6 +62,7 @@ jobs:
6262

6363
# Job to run tests in parallel
6464
run:
65+
name: ${{ matrix.test-file }} / Python ${{ matrix.python-version }}
6566
needs:
6667
- find-tests
6768
- pull-docker-image
@@ -74,10 +75,16 @@ jobs:
7475
os:
7576
- ubuntu-latest
7677
test-file: ${{ fromJson(needs.find-tests.outputs.test-files) }}
78+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
7779
steps:
7880
- name: Check-out repository
7981
uses: actions/checkout@v4
8082

83+
- name: Set up Python ${{ matrix.python-version }}
84+
uses: actions/setup-python@v5
85+
with:
86+
python-version: ${{ matrix.python-version }}
87+
8188
- name: Install uv
8289
uses: astral-sh/setup-uv@v4
8390

CHANGELOG.md

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

3+
## 9.3.0 /2025-04-09
4+
5+
## What's Changed
6+
* More E2E tests by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2754
7+
* Fix E2E: fix wait_epoch and next_tempo by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2753
8+
* Add all supported python versions to e2e tests workflow by @basfroman in https://github.com/opentensor/bittensor/pull/2761
9+
* update docker image name by @basfroman in https://github.com/opentensor/bittensor/pull/2760
10+
* Add pypi package version checker for `python -m bittensor` by @basfroman in https://github.com/opentensor/bittensor/pull/2762
11+
* Feat: set_children and get_pending_children methods by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2752
12+
* Add logic for keep docker image up to date by @basfroman in https://github.com/opentensor/bittensor/pull/2765
13+
* Fix: CI/CD Set up Python version for E2E tests by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2767
14+
* Fix E2E Tests: wait for new nonce by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2768
15+
* Fix e2e `conftest.py` for legacy runner by @basfroman in https://github.com/opentensor/bittensor/pull/2769
16+
* Fix E2E with devnet-ready by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2776
17+
* Add compatibility check for 3.13 by @thewhaleking in https://github.com/opentensor/bittensor/pull/2779
18+
* Fix E2E test_dendrite by making sure Alice is Top validator in Subnet by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2780
19+
* Add get_owned_hotkeys to subtensor and async one + tests by @basfroman in https://github.com/opentensor/bittensor/pull/2766
20+
* Add drand-commitments by @basfroman in https://github.com/opentensor/bittensor/pull/2781
21+
* Missing f-string format by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2785
22+
* bump version by @basfroman in https://github.com/opentensor/bittensor/pull/2786
23+
* Improvement and fix for https://github.com/opentensor/bittensor/pull/2781 by @basfroman in https://github.com/opentensor/bittensor/pull/2787
24+
* Add `stop_existing_test_containers` logic before run e2e test/s by @basfroman in https://github.com/opentensor/bittensor/pull/2790
25+
* Bump async substrate interface by @thewhaleking in https://github.com/opentensor/bittensor/pull/2788
26+
* Improve CRv3 functionality by @basfroman in https://github.com/opentensor/bittensor/pull/2791
27+
* Improve logic in Balance magic methods by @basfroman in https://github.com/opentensor/bittensor/pull/2764
28+
* Requirements update by @thewhaleking in https://github.com/opentensor/bittensor/pull/2789
29+
* remove Levenshtein requirement by @thewhaleking in https://github.com/opentensor/bittensor/pull/2802
30+
31+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.2.0...v9.3.0
32+
333
## 9.2.0 /2025-03-18
434

535
## What's Changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# **Bittensor SDK** <!-- omit in toc -->
44
[![Discord Chat](https://img.shields.io/discord/308323056592486420.svg)](https://discord.gg/bittensor)
5+
[![CodeQL](https://github.com/opentensor/bittensor/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/opentensor/bittensor/actions)
56
[![PyPI version](https://badge.fury.io/py/bittensor.svg)](https://badge.fury.io/py/bittensor)
67
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
78

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.2.0
1+
9.3.0

bittensor/__main__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import sys
44

55
from bittensor import __version__
6+
from bittensor.utils.version import check_latest_version_in_pypi
67

78
if __name__ == "__main__":
89
if len(sys.argv) > 1 and sys.argv[1] == "certifi":
@@ -18,4 +19,5 @@
1819
# Run the script
1920
subprocess.run([certifi_script], check=True)
2021
else:
21-
print(f"Bittensor SDK version: {__version__}")
22+
print(f"Installed Bittensor SDK version: {__version__}")
23+
check_latest_version_in_pypi()

0 commit comments

Comments
 (0)