Skip to content

Commit

Permalink
Merge pull request #2483 from opentensor/release/8.4.0
Browse files Browse the repository at this point in the history
Release/8.4.0
  • Loading branch information
ibraheem-opentensor authored Nov 27, 2024
2 parents ae02978 + 812ed9d commit 84851a4
Show file tree
Hide file tree
Showing 77 changed files with 18,009 additions and 4,634 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ workflows:
- check_compatibility:
python_version: "3.11"
name: check-compatibility-3.11
- check_compatibility:
python_version: "3.12"
name: check-compatibility-3.12


pr-requirements:
jobs:
Expand All @@ -298,7 +302,7 @@ workflows:
- build-and-test:
matrix:
parameters:
python-version: ["3.9.13", "3.10.6", "3.11.4"]
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7" ]
requires:
- check-if-pr-is-draft
- unit-tests-all-python-versions:
Expand All @@ -307,7 +311,7 @@ workflows:
- lint-and-type-check:
matrix:
parameters:
python-version: ["3.9.13", "3.10.6", "3.11.4"]
python-version: [ "3.9.13", "3.10.6", "3.11.4", "3.12.7" ]
requires:
- check-if-pr-is-draft
#- coveralls:
Expand Down
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Changelog

## 8.4.0 /2024-11-27

## What's Changed

* Async unittests for `bittensor/core/extrinsics/async_weights.py` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2425
* Async unittests for `bittensor/core/extrinsics/async_transfer.py` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2426
* Async `unittests for bittensor/core/extrinsics/async_root.py` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2427
* Removes Conda Info by @thewhaleking in https://github.com/opentensor/bittensor/pull/2437
* Fix typos by @omahs in https://github.com/opentensor/bittensor/pull/2440
* [SDK] Registration related content refactoring by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2439
* Async unittests for `bittensor/core/extrinsics/async_registration.py` by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2445
* BittensorConsole class by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2446
* Improve reconnection logic by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2442
* E2E tests - Increasing Subtensor coverage (Pt 1) by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2443
* Add python3.12 support by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2450
* add neuron certificate discovery by @andreea-popescu-reef in https://github.com/opentensor/bittensor/pull/2267
* Use websockets for Subtensor by @thewhaleking in https://github.com/opentensor/bittensor/pull/2455
* Part 2: E2E tests - Increasing Subtensor coverage by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2457
* Tests for subtensor methods related with `stake` and `unstake` extrinsics by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2458
* Apply BittensorConsole + logging refactoring by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2452
* Add staking and unstaking extrinsics by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2456
* Don't strip ANSI from stdout (fixes #2365) by @vaqxai in https://github.com/opentensor/bittensor/pull/2366
* Support fastblocks when setting root set weights in e2e tests by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2464
* Extrinsic Submission Timeout by @thewhaleking in https://github.com/opentensor/bittensor/pull/2448
* Resync async substrate by @thewhaleking in https://github.com/opentensor/bittensor/pull/2463
* Fixes logging when setting weights by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2465
* Integration tests by @thewhaleking in https://github.com/opentensor/bittensor/pull/2433
* Fixes logic for checking block_since_last_update by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2473
* Update unit tests websocket by @thewhaleking in https://github.com/opentensor/bittensor/pull/2468
* Improve MockSubtensor by @thewhaleking in https://github.com/opentensor/bittensor/pull/2469
* Fixes logging when passing multiple objects by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2477
* Add script for solving ssl issue by @roman-opentensor in https://github.com/opentensor/bittensor/pull/2474
* Improve async docstrings by @thewhaleking in https://github.com/opentensor/bittensor/pull/2478
* fix: increase stacklevel in LoggingMachine log calls by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2476
* remove uses of return scale obj by @thewhaleking in https://github.com/opentensor/bittensor/pull/2479
* Backmerge master to staging for 8.4.0 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2482
* Expand `reuse_block` by @thewhaleking in https://github.com/opentensor/bittensor/pull/2481
* Add NeuronInfo list from vec u8 by @camfairchild in https://github.com/opentensor/bittensor/pull/2480
* Update `ensure_connected` for websockets by @thewhaleking in https://github.com/opentensor/bittensor/pull/2486
* MockSubtensor work offline by @thewhaleking in https://github.com/opentensor/bittensor/pull/2487
* Add `wait_for_block` method by @thewhaleking in https://github.com/opentensor/bittensor/pull/2489
* Updates btwallet to 2.1.2 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2490
* Bumps bittensor wallet to 2.1.3 by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2492

## New Contributors
* @vaqxai made their first contribution in https://github.com/opentensor/bittensor/pull/2366
* @zyzniewski-reef made their first contribution in https://github.com/opentensor/bittensor/pull/2476

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v8.3.1...v8.4.0

## 8.3.1 /2024-11-14

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.3.1
8.4.0
19 changes: 18 additions & 1 deletion bittensor/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,24 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

import os
import subprocess
import sys

from bittensor import __version__

if __name__ == "__main__":
print(f"Bittensor SDK version: {__version__}")
if len(sys.argv) > 1 and sys.argv[1] == "certifi":
# Resolve the path to certifi.sh
certifi_script = os.path.join(os.path.dirname(__file__), "utils", "certifi.sh")
if not os.path.exists(certifi_script):
print(f"Error: certifi.sh not found at {certifi_script}")
sys.exit(1)

# Ensure the script is executable
os.chmod(certifi_script, 0o755)

# Run the script
subprocess.run([certifi_script], check=True)
else:
print(f"Bittensor SDK version: {__version__}")
Loading

0 comments on commit 84851a4

Please sign in to comment.