Skip to content

Commit 820b1e2

Browse files
authored
Merge pull request #2656 from opentensor/merge/roman/async-pre-merge-new-async-to-staging
Merge `async-pre-merge-new-async` to `staging`
2 parents f16ebee + f4f84ad commit 820b1e2

File tree

148 files changed

+14893
-12817
lines changed

Some content is hidden

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

148 files changed

+14893
-12817
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090

9191
- name: Setup subtensor repo
9292
working-directory: ${{ github.workspace }}/subtensor
93-
run: git checkout main
93+
run: git checkout devnet-ready
9494

9595
- name: Run tests
9696
run: |

CHANGELOG.md

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

3+
## 9.0.0rc5 /2025-02-07
4+
* Fix InfoBase + dataclasses @roman-opentensor in https://github.com/opentensor/bittensor/pull/2649
5+
6+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc4...v9.0.0rc5
7+
8+
## 9.0.0rc4 /2025-02-07
9+
* Fix for extra fields from chain data by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2647
10+
* Adds get_all_commitments and fixes commitment tests and query_map @thewhaleking in https://github.com/opentensor/bittensor/pull/2644
11+
12+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc2...v9.0.0rc3
13+
14+
## 9.0.0rc3 /2025-02-06
15+
16+
## What's Changed
17+
* Adds methods to better accommodate the new websocket implementation (long-lived) by @thewhaleking in https://github.com/opentensor/bittensor/commit/3c44be177edef8a799c2c9dc5e49916723cab5c2
18+
* Adds latent-lite network by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2641
19+
* Updates async-substrate-interface to 1.0.0rc12 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/commit/9d0b008e6163c84ed9267423324f30c3ec8af289
20+
* Bringing meta fields to a common form with float values float(TAO) instead of Balance and Tensor by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2642
21+
22+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc2...v9.0.0rc3
23+
24+
## 9.0.0rc2 /2025-02-05
25+
26+
## What's Changed
27+
* Small bug fixes and improvements by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2637
28+
29+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.0rc1...v9.0.0rc2
30+
31+
## 9.0.0rc1 /2025-02-05
32+
33+
## What's Changed
34+
* Uses revamped Async Substrate Interface
35+
* Compatibility with Rao changes added
36+
* Completely revamped Async Subtensor introduced
37+
* Numerous improvements, bug fixes, and deprecations
38+
39+
**Full Changelog**: https://github.com/opentensor/bittensor/compare/v8.5.1...v9.0.0rc1
40+
341
## 8.5.2 /2025-01-17
442

543
## What's Changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.5.2
1+
9.0.0rc5

bittensor/__init__.py

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,8 @@
1-
# The MIT License (MIT)
2-
# Copyright © 2024 Opentensor Foundation
3-
#
4-
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5-
# documentation files (the “Software”), to deal in the Software without restriction, including without limitation
6-
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
7-
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8-
#
9-
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of
10-
# the Software.
11-
#
12-
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
13-
# THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14-
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
15-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
16-
# DEALINGS IN THE SOFTWARE.
17-
181
import warnings
192

203
from .core.settings import __version__, version_split, DEFAULTS, DEFAULT_NETWORK
21-
from .core.async_subtensor import AsyncSubtensor
224
from .utils.btlogging import logging
23-
from .utils.deprecated import *
24-
25-
26-
async def async_subtensor(network: str = DEFAULT_NETWORK) -> AsyncSubtensor:
27-
"""
28-
Creates an initialised AsyncSubtensor object.
29-
"""
30-
async with AsyncSubtensor(network=network) as subtensor_:
31-
return subtensor_
5+
from .utils.easy_imports import *
326

337

348
def __getattr__(name):

bittensor/__main__.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
# The MIT License (MIT)
2-
# Copyright © 2024 Opentensor Foundation
3-
#
4-
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5-
# documentation files (the “Software”), to deal in the Software without restriction, including without limitation
6-
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
7-
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8-
#
9-
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of
10-
# the Software.
11-
#
12-
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
13-
# THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14-
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
15-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
16-
# DEALINGS IN THE SOFTWARE.
17-
181
import os
192
import subprocess
203
import sys

0 commit comments

Comments
 (0)