Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/8.4.0 #2483

Merged
merged 206 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
6775e37
Remove ANSI character stripping from STDOUT upon colorama init
vaqxai Oct 21, 2024
028b09a
Change colorama init to not wrap output
vaqxai Oct 21, 2024
7d4e633
Backmerge master to staging (#2424)
thewhaleking Nov 14, 2024
faa2223
_do_set_weights
roman-opentensor Nov 15, 2024
f6390bf
set_weights_extrinsic
roman-opentensor Nov 15, 2024
9b8b8f0
_do_commit_weights
roman-opentensor Nov 15, 2024
5ae7667
commit_weights_extrinsic
roman-opentensor Nov 15, 2024
0e35bcb
transfer_extrinsic
roman-opentensor Nov 16, 2024
24a2f96
Merge pull request #2425 from opentensor/refactor/roman/fix-registrat…
roman-opentensor Nov 16, 2024
f36e373
Merge branch 'staging' into tests/roman/unit-tests-for-async-transfer
roman-opentensor Nov 16, 2024
36dd01e
refactoring for async_root.py
roman-opentensor Nov 16, 2024
07b148c
Merge pull request #2426 from opentensor/tests/roman/unit-tests-for-a…
roman-opentensor Nov 16, 2024
74e404f
_do_set_root_weights + set_root_weights_extrinsic
roman-opentensor Nov 16, 2024
78c877b
Merge branch 'staging' into tests/roman/unit-tests-for-async-root
roman-opentensor Nov 16, 2024
681b3b6
Merge pull request #2427 from opentensor/tests/roman/unit-tests-for-a…
roman-opentensor Nov 18, 2024
88219fb
replace substrateinterface.base.Keypair with bittensor-wallet.Keypair
roman-opentensor Nov 18, 2024
a193a24
update comment
roman-opentensor Nov 18, 2024
8cdec02
Remove conda env stuff that is no longer used/needed
thewhaleking Nov 18, 2024
73c1c92
Merge pull request #2437 from opentensor/fix/thewhaleking/remove-conda
thewhaleking Nov 18, 2024
4dd66ee
move `get_neuron_for_pubkey_and_subnet` function from async_registrat…
roman-opentensor Nov 19, 2024
13f8b9d
add tests for `bittensor.core.async_subtensor.AsyncSubtensor.get_neur…
roman-opentensor Nov 19, 2024
314ddf9
convert `bittensor.core.registration.py` module to `bittensor.core.re…
roman-opentensor Nov 19, 2024
e78573e
move async stuff into separated module `bittensor/utils/registration/…
roman-opentensor Nov 19, 2024
f5ea487
global movement + ruff
roman-opentensor Nov 19, 2024
102e688
collect 2 tests modules into one
roman-opentensor Nov 19, 2024
4fe7f2e
rename test module - pytest complains about name conflict
roman-opentensor Nov 19, 2024
edc7612
ruff
roman-opentensor Nov 19, 2024
386489b
revert `substrateinterface.base.Keypair` related replacement
roman-opentensor Nov 19, 2024
b6d2d74
Merge branch 'staging' into tests/roman/async-registration-refactoring
roman-opentensor Nov 19, 2024
5232cda
Fix typos (#2440)
omahs Nov 19, 2024
fa12005
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
9812108
Merge branch 'staging' into tests/roman/async-registration-refactoring
roman-opentensor Nov 19, 2024
dd1d21b
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
7afbe25
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
711e03d
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
f195b8f
Update bittensor/utils/registration/async_registration.py
roman-opentensor Nov 19, 2024
4d816fc
rename modules
roman-opentensor Nov 19, 2024
fdf58d6
ruff
roman-opentensor Nov 19, 2024
d39144b
Merge pull request #2439 from opentensor/tests/roman/async-registrati…
roman-opentensor Nov 19, 2024
a62f92c
Increases coverage, replaces raw chain calls with subtensor calls
ibraheem-opentensor Nov 19, 2024
6737c1f
Remove commented info
ibraheem-opentensor Nov 19, 2024
350fe7a
make async register_extrinsic consistent with sync version
roman-opentensor Nov 20, 2024
db1e40c
add test for `async_registration._do_pow_register`
roman-opentensor Nov 20, 2024
6c7f10b
add test for `async_registration.register_extrinsic`
roman-opentensor Nov 20, 2024
d299571
remove unused extrinsic
roman-opentensor Nov 20, 2024
f4de7de
remove unused import
roman-opentensor Nov 20, 2024
d6cf542
add BittensorConsole class
roman-opentensor Nov 20, 2024
a5122a0
add BittensorConsole instance to LoggingMachine class
roman-opentensor Nov 20, 2024
a028c43
update format.py
roman-opentensor Nov 20, 2024
023b359
review comments + some comments/fix
roman-opentensor Nov 20, 2024
a8a7a55
replace `<color><color/>` to `[color][color/]`
roman-opentensor Nov 20, 2024
7e32883
add `orange` color which is the same as `yellow` but gives us ability…
roman-opentensor Nov 20, 2024
336fb6c
Merge pull request #2445 from opentensor/tests/roman/unit-tests-for-a…
roman-opentensor Nov 20, 2024
85ecbcc
bring `filename` back to the logging formatter
roman-opentensor Nov 20, 2024
047aa55
Merge branch 'staging' into feat/roman/bittensor-console
roman-opentensor Nov 20, 2024
308ffcb
fix indent
roman-opentensor Nov 20, 2024
364f9b4
fix reconnection
roman-opentensor Nov 19, 2024
a73e456
use retry + improve logging messages
roman-opentensor Nov 19, 2024
09dcb93
remove `backoff` from requirements
roman-opentensor Nov 19, 2024
c3468ab
optimise imports
roman-opentensor Nov 19, 2024
bab874c
Merge pull request #2446 from opentensor/feat/roman/bittensor-console
roman-opentensor Nov 20, 2024
52dd864
Merge branch 'staging' into fix/roman/reconnection
roman-opentensor Nov 20, 2024
a7b5909
Fixes transfer calculations
ibraheem-opentensor Nov 20, 2024
107f421
Ruff
ibraheem-opentensor Nov 20, 2024
4d6ad65
Merge branch 'staging' into feat/abe/e2e-tests-1
roman-opentensor Nov 20, 2024
bcc7dc2
Merge pull request #2442 from opentensor/fix/roman/reconnection
roman-opentensor Nov 20, 2024
8f21d1b
add python3.12 support
roman-opentensor Nov 20, 2024
ef47604
Merge branch 'staging' into feat/abe/e2e-tests-1
ibraheem-opentensor Nov 20, 2024
666e741
Merge pull request #2443 from opentensor/feat/abe/e2e-tests-1
ibraheem-opentensor Nov 20, 2024
957df66
Merge branch 'staging' into feat/roman/support-python-3-12
roman-opentensor Nov 20, 2024
b660fe5
Merge pull request #2450 from opentensor/feat/roman/support-python-3-12
roman-opentensor Nov 21, 2024
e0281d1
apply BittensorConsole + logging refactoring
roman-opentensor Nov 21, 2024
2ff1056
Merge branch 'staging' into feat/roman/apply-bittensor-console
roman-opentensor Nov 21, 2024
937065f
apply BittensorConsole + logging refactoring
roman-opentensor Nov 21, 2024
fef59c7
add neuron certificate discovery (#2267)
andreea-popescu-reef Nov 21, 2024
71f884c
Initial tests…
thewhaleking Nov 15, 2024
1c1d3f0
[WIP] Fake websocket and data
thewhaleking Nov 15, 2024
c0439ad
[WIP]
thewhaleking Nov 15, 2024
d0188df
Added TODO so I don't forget later.
thewhaleking Nov 15, 2024
f0c8eab
WIP
thewhaleking Nov 18, 2024
fcbe1af
Ruff
thewhaleking Nov 18, 2024
f6a3d64
More methods added
thewhaleking Nov 18, 2024
0e98e68
More methods added
thewhaleking Nov 18, 2024
e5b438a
Merge branch 'staging' into feat/thewhaleking/integration-tests
thewhaleking Nov 21, 2024
48a67e3
Renamed integration test data file, added comment explaining it. Remo…
thewhaleking Nov 21, 2024
77bc5b5
fast refactor for subtensor modules
roman-opentensor Nov 21, 2024
aa6111a
add unstake extrinsics
roman-opentensor Nov 21, 2024
d5ea91e
add emoji
roman-opentensor Nov 21, 2024
34c9537
add helper methods to subtensor.Subtensor
roman-opentensor Nov 21, 2024
8940e02
imports
roman-opentensor Nov 21, 2024
4122d7b
add extrinsics calls to Subtensor class
roman-opentensor Nov 21, 2024
1164fb5
[WIP] use websockets for Subtensor (#2455)
thewhaleking Nov 21, 2024
d90ad23
Merge remote-tracking branch 'origin/staging' into feat/thewhaleking/…
thewhaleking Nov 21, 2024
f491c46
Merge
thewhaleking Nov 21, 2024
0efee67
Convert FakeWebsocket to use websockets.sync.client.ClientConnection …
thewhaleking Nov 21, 2024
7860b6f
add staking
roman-opentensor Nov 21, 2024
907ce02
fix circular import
roman-opentensor Nov 21, 2024
6ef229b
order
roman-opentensor Nov 21, 2024
5c72efe
added `add_stake` and `add_stake_multiple`
roman-opentensor Nov 21, 2024
7f373a3
Merge branch 'staging' into feat/roman/add_unstake_extrinsic
roman-opentensor Nov 21, 2024
0e7466e
Part 2 of e2e coverage + bug fixes
ibraheem-opentensor Nov 22, 2024
4258561
Merge branch 'staging' into feat/abe/e2e-tests-1
ibraheem-opentensor Nov 22, 2024
6b2496a
Ruff
ibraheem-opentensor Nov 22, 2024
c3727da
test for `Subtensor.get_stake_for_coldkey_and_hotkey`
roman-opentensor Nov 22, 2024
babf9b4
test for `Subtensor.get_hotkey_owner`
roman-opentensor Nov 22, 2024
9f439ad
test for `Subtensor.get_minimum_required_stake`
roman-opentensor Nov 22, 2024
242ad71
test for `Subtensor.does_hotkey_exist`
roman-opentensor Nov 22, 2024
49bc391
test for `Subtensor.tx_rate_limit`
roman-opentensor Nov 22, 2024
7c8f1af
test for `Subtensor.get_delegates`
roman-opentensor Nov 22, 2024
0a43fa4
test for `Subtensor.is_hotkey_delegate`
roman-opentensor Nov 22, 2024
ba26ef8
test for `Subtensor.add_stake` extrinsic call
roman-opentensor Nov 22, 2024
ebad015
test for `Subtensor.add_stake_multiple` extrinsic call
roman-opentensor Nov 22, 2024
f78abe2
test for `Subtensor.unstake` extrinsic call
roman-opentensor Nov 22, 2024
360f5cd
test for `Subtensor.unstake_multiple` extrinsic call
roman-opentensor Nov 22, 2024
1d1413d
Merge branch 'staging' into feat/roman/apply-bittensor-console
thewhaleking Nov 22, 2024
d0fec96
Merge pull request #2457 from opentensor/feat/abe/e2e-tests-1
ibraheem-opentensor Nov 22, 2024
762e593
Merge pull request #2458 from opentensor/tests/roman/add_unstake_extr…
roman-opentensor Nov 22, 2024
27d22d6
Update bittensor/core/extrinsics/staking.py
roman-opentensor Nov 22, 2024
6ba5a25
Update bittensor/core/extrinsics/unstaking.py
roman-opentensor Nov 22, 2024
093a9aa
Update bittensor/core/extrinsics/unstaking.py
roman-opentensor Nov 22, 2024
140f037
Update bittensor/core/async_subtensor.py
roman-opentensor Nov 22, 2024
0f257cf
Update bittensor/core/extrinsics/staking.py
roman-opentensor Nov 22, 2024
a15915c
Merge branch 'staging' into feat/roman/add_unstake_extrinsic
roman-opentensor Nov 22, 2024
4e70f3a
Merge branch 'staging' into feat/roman/apply-bittensor-console
roman-opentensor Nov 22, 2024
456528d
fix unused import
roman-opentensor Nov 22, 2024
96bd7a5
Adds a timeout to extrinsic submissions with handling for polling the…
thewhaleking Nov 20, 2024
f7796e6
Typo
thewhaleking Nov 20, 2024
4546ccc
Changed all sync extrinsics to use the submit_extrinsics util
thewhaleking Nov 20, 2024
b2d0e37
Removed typo
thewhaleking Nov 20, 2024
dc6ea3a
Edge case
thewhaleking Nov 20, 2024
ce3a032
Removed testing stuff.
thewhaleking Nov 20, 2024
fe01bbf
import cleanup
thewhaleking Nov 20, 2024
0346f1b
Expanded extrinsic timeout to 200 seconds. Added better logging inclu…
thewhaleking Nov 21, 2024
5a69f4f
Changed signal to threading because signal only works in the main thr…
thewhaleking Nov 22, 2024
01d9471
Merge branch 'staging' into feat/thewhaleking/integration-tests
thewhaleking Nov 22, 2024
f53a1dd
Merge branch 'staging' into patch-1
thewhaleking Nov 22, 2024
279a82c
Merge pull request #2452 from opentensor/feat/roman/apply-bittensor-c…
roman-opentensor Nov 22, 2024
2d12d87
Merge branch 'staging' into feat/roman/add_unstake_extrinsic
roman-opentensor Nov 22, 2024
d460670
Merge pull request #2456 from opentensor/feat/roman/add_unstake_extri…
roman-opentensor Nov 22, 2024
64e52ad
Merge branch 'staging' into fix/thewhaleking/reconnection
roman-opentensor Nov 22, 2024
70ccca8
Merge branch 'staging' into patch-1
roman-opentensor Nov 22, 2024
c6cc565
Adds period to root extrinsic to support fastblocks
ibraheem-opentensor Nov 22, 2024
d6d6f7f
Merge pull request #2366 from vaqxai/patch-1
roman-opentensor Nov 22, 2024
3fc5b44
Merge branch 'staging' into fix/thewhaleking/reconnection
ibraheem-opentensor Nov 22, 2024
3c672ac
Merge branch 'staging' into fix/e2e-tests/test-root-set-weights
ibraheem-opentensor Nov 22, 2024
b772bbb
Merge pull request #2464 from opentensor/fix/e2e-tests/test-root-set-…
ibraheem-opentensor Nov 22, 2024
e2b8de6
Merge branch 'staging' into fix/thewhaleking/reconnection
ibraheem-opentensor Nov 22, 2024
d22fa3d
Merge pull request #2448 from opentensor/fix/thewhaleking/reconnection
ibraheem-opentensor Nov 22, 2024
84829c0
Merge branch 'staging' into feat/thewhaleking/integration-tests
roman-opentensor Nov 23, 2024
c147ff7
Resync async substrate (#2463)
thewhaleking Nov 25, 2024
aa3ba41
Fixes logging breaking when setting weights
ibraheem-opentensor Nov 23, 2024
bf92d2f
Adds back kwargs
ibraheem-opentensor Nov 23, 2024
7850686
Moved FakeWebsocket to a helper
thewhaleking Nov 25, 2024
0992821
Merge branch 'staging' into feat/thewhaleking/integration-tests
thewhaleking Nov 25, 2024
2f03879
Merge pull request #2465 from opentensor/fix/logging-weights
ibraheem-opentensor Nov 25, 2024
94d5984
Merge branch 'staging' into feat/thewhaleking/integration-tests
ibraheem-opentensor Nov 25, 2024
981757d
Merge pull request #2433 from opentensor/feat/thewhaleking/integratio…
ibraheem-opentensor Nov 25, 2024
b6fc3b1
Fixes logic for checking block_since_last_update
ibraheem-opentensor Nov 25, 2024
4387ac2
add script for solving ssl issue
roman-opentensor Nov 25, 2024
c53e0e2
update message color
roman-opentensor Nov 25, 2024
80cc9bc
Merge pull request #2473 from opentensor/fix/e2e-tests/block-update
ibraheem-opentensor Nov 25, 2024
569f673
Merge branch 'staging' into feat/roman/add-certifi.sh
roman-opentensor Nov 25, 2024
ed5d7a8
fix: increase stacklevel in LoggingMachine log calls
zyzniewski-reef Nov 25, 2024
e147653
Update unit tests websocket (#2468)
thewhaleking Nov 25, 2024
c7d9759
Merge branch 'staging' into fix/logger_stacklevel
roman-opentensor Nov 25, 2024
756eef7
tests: check LogRecord's calling module
zyzniewski-reef Nov 25, 2024
7576dac
Improve MockSubtensor (#2469)
thewhaleking Nov 25, 2024
391dec7
fix: adjust LoggingMachine stacklevel on Python < 3.11
zyzniewski-reef Nov 25, 2024
79a8c59
Merge branch 'staging' into fix/logger_stacklevel
roman-opentensor Nov 25, 2024
edceaf2
style: reformat code
zyzniewski-reef Nov 25, 2024
6ad9264
Merge branch 'staging' into feat/roman/add-certifi.sh
roman-opentensor Nov 25, 2024
62dc912
Fixes logging when passing multiple objects
ibraheem-opentensor Nov 26, 2024
e50b749
Merge pull request #2477 from opentensor/fix/logging/concat-msgs
ibraheem-opentensor Nov 26, 2024
8a6cb05
Merge branch 'staging' into fix/logger_stacklevel
roman-opentensor Nov 26, 2024
ce58209
refactor: define CUSTOM_LOGGER_METHOD_STACKLEVEL
zyzniewski-reef Nov 26, 2024
50c5435
Merge branch 'staging' into feat/roman/add-certifi.sh
thewhaleking Nov 26, 2024
e96954f
Update bittensor/utils/btlogging/loggingmachine.py
zyzniewski-reef Nov 26, 2024
c01fd88
Update bittensor/utils/btlogging/loggingmachine.py
zyzniewski-reef Nov 26, 2024
04a8a17
add `sudo` to the command
roman-opentensor Nov 26, 2024
085c70d
Update bittensor/utils/btlogging/loggingmachine.py
roman-opentensor Nov 26, 2024
5271a67
Merge pull request #2474 from opentensor/feat/roman/add-certifi.sh
roman-opentensor Nov 26, 2024
d4ee0a6
Merge branch 'staging' into fix/logger_stacklevel
roman-opentensor Nov 26, 2024
61b9951
Improve async docstrings (#2478)
thewhaleking Nov 26, 2024
dafaa1f
Merge branch 'staging' into fix/logger_stacklevel
thewhaleking Nov 26, 2024
599be1f
Merge pull request #2476 from zyzniewski-reef/fix/logger_stacklevel
ibraheem-opentensor Nov 26, 2024
05390a1
remove uses of return scale obj (#2479)
thewhaleking Nov 26, 2024
1441b3a
Merge branch 'master' into backmerge/master-to-staging-840
ibraheem-opentensor Nov 26, 2024
6fdae79
Merge pull request #2482 from opentensor/backmerge/master-to-staging-840
ibraheem-opentensor Nov 26, 2024
669f6aa
Expand `reuse_block` (#2481)
thewhaleking Nov 26, 2024
582f4f5
Bumps version and changelog
ibraheem-opentensor Nov 26, 2024
059a05d
Add NeuronInfo list from vec u8 (#2480)
camfairchild Nov 27, 2024
aa9e71b
Update `ensure_connected` for websockets (#2486)
thewhaleking Nov 27, 2024
8128c80
MockSubtensor work offline (#2487)
thewhaleking Nov 27, 2024
875c7f1
Add `wait_for_block` method (#2489)
thewhaleking Nov 27, 2024
410a199
Merge branch 'staging' into release/8.4.0
ibraheem-opentensor Nov 27, 2024
8eb134f
Updated changelog
ibraheem-opentensor Nov 27, 2024
b13ced3
Updates btwallet to 2.1.2
ibraheem-opentensor Nov 27, 2024
119fd06
Trigger no-op
thewhaleking Nov 27, 2024
dc313cb
Merge pull request #2490 from opentensor/update-btwallet-212
ibraheem-opentensor Nov 27, 2024
fcf5737
Merge branch 'staging' into release/8.4.0
ibraheem-opentensor Nov 27, 2024
7f2a100
Updates changelog
ibraheem-opentensor Nov 27, 2024
0c8d805
Bumps wallet to 2.1.3
ibraheem-opentensor Nov 27, 2024
7d168ee
Trigger no-op
ibraheem-opentensor Nov 27, 2024
4839689
Merge pull request #2492 from opentensor/btwallet-version-213
ibraheem-opentensor Nov 27, 2024
cad0f14
Merge branch 'staging' into release/8.4.0
ibraheem-opentensor Nov 27, 2024
812ed9d
Updates changelog
ibraheem-opentensor Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading