Skip to content

Release/8.4.0#2483

Merged
ibraheem-abe merged 206 commits intomasterfrom
release/8.4.0
Nov 27, 2024
Merged

Release/8.4.0#2483
ibraheem-abe merged 206 commits intomasterfrom
release/8.4.0

Conversation

@ibraheem-abe
Copy link
Contributor

@ibraheem-abe ibraheem-abe commented Nov 26, 2024

8.4.0 /2024-11-27

What's Changed

New Contributors

Full Changelog: v8.3.1...v8.4.0

vaqxai and others added 30 commits October 21, 2024 10:28
- Until now ANSI was stripped from stdout if bittensor was not running within a TTY (like in PM2)
- This caused colored output to be broken under PM2 (and other process managers which do not give a TTY do bittensor/python
- Bittensor posseses its own file logger, which makes this behavior unnecessary and unwanted.
- This patch disables that behavior.
Only without output wrapping does terminal output under PM2 behave correctly.
* Expands the type registry to include all the available options (#2353)

Expands the type registry to include all the available options

* add `Subtensor.register`, `Subtensor.difficulty` and related staff with tests (#2352)

* add `bittensor.core.subtensor.Subtensor.register`, `bittensor.core.subtensor.Subtensor.difficulty` and related staff with tests

* remove commented code

* update `_terminate_workers_and_wait_for_exit` by review

* added to Subtensor: `burned_register`, `get_subnet_burn_cost`, `recycle` and related extrinsics (#2359)

* added to Subtensor: `burned_register`, `get_subnet_burn_cost`, `recycle` and related extrinsics

* formatter

* Update bittensor/core/extrinsics/registration.py

Co-authored-by: Benjamin Himes <37844818+thewhaleking@users.noreply.github.com>

---------

Co-authored-by: Benjamin Himes <37844818+thewhaleking@users.noreply.github.com>

* Poem "Risen from the Past". Act 3. (#2363)

* add `get_delegate_by_hotkey`, update `DelegateInfo` in chain data

* add `root_register_extrinsic`, `set_root_weights_extrinsic` and related stuff

* add `Subtensor.get_all_subnets_info` method and related stuff

* add `Subtensor.get_delegate_take` method and tests

* ruff

* remove unused import

* default port from 9946 to 9944 (#2376)

* remove unused prometheus extrinsic (#2378)

* Replace rich.console to btlogging.loggin (#2377)

* replace `rich.console` to `btlogging.logging`

* update requirements

* use whole path import

* fix some logging

* fix registration.py

* ruff

* del prometheus.py

* fix review comments

* Merge pull request #2382 from opentensor/feat/roman/remove-prompt-from-sdk

Avoid using `prompt` in SDK

* Handle SSL Error on Connection (#2384)

* Add `subvortex` subnet and tests (#2395)

* add `subvortex` subnet and tests

* ruff

* Bumps version and updates changelog

* bumping up version

* Update CHANGELOG.md

* bumping version

* Update CHANGELOG.md

with 8.3.1

* update docker version in config.yml

* update docker version in config.yml

* remove docker job in config.yml

* remove docker job in config.yml 2

---------

Co-authored-by: Roman <167799377+roman-opentensor@users.noreply.github.com>
Co-authored-by: ibraheem-opentensor <165814940+ibraheem-opentensor@users.noreply.github.com>
Co-authored-by: ibraheem-opentensor <ibraheem@opentensor.dev>
Co-authored-by: Roman <roman@opentensor.dev>
…ion-mess

Async unittests for `bittensor/core/extrinsics/async_weights.py`
…sync-transfer

Async unittests for `bittensor/core/extrinsics/async_transfer.py`
…sync-root

Async `unittests for bittensor/core/extrinsics/async_root.py`
…ion.py to async_subtensor.py as `AsyncSubtensor` method
* fix typos
basfroman and others added 20 commits November 26, 2024 09:58
* Improves the general docstrings of async_substrate_interface.py

---------

Co-authored-by: Cameron Fairchild <cameron@opentensor.dev>
fix: increase stacklevel in LoggingMachine log calls
decode_scale's return_scale_obj arg was removed, but its references were not.
Expands the use of reuse_block to all methods that accept block_hash as an arg
* add back list from vec u8 to neuron info

* use new decode in the neurons func

* chore: ruff

* fix `tests/unit_tests/test_async_subtensor.py::test_neurons`

---------

Co-authored-by: Roman <roman@opentensor.dev>
* Updates `ensure_connected` for the change to websockets.

* Regenerates the websocket connection if it is closed.
* Updates `ensure_connected` for the change to websockets.

* Only need to catch ConnectionClosed, as ConnectionClosedError subclasses ConnectionClosed.

* Regenerates the websocket connection if it is closed.

* Add property to FakeWebsocket

* Ruff

* Makes tests that use MockSubtensor run offline.

* Changed scope of patch.
Fixes the `AsyncSubstrateInterface._get_block_handler` method's `result_handler` and adds a `wait_for_block` method.
@ibraheem-abe ibraheem-abe requested a review from a team November 27, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ANSI Escape Sequences do not work under PM2 in version of bittensor older than 6.9.4

9 participants