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

Release/8.4.0 #2483

merged 206 commits into from
Nov 27, 2024

Conversation

ibraheem-opentensor
Copy link
Contributor

@ibraheem-opentensor ibraheem-opentensor 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 <[email protected]>

---------

Co-authored-by: Benjamin Himes <[email protected]>

* 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 <[email protected]>
Co-authored-by: ibraheem-opentensor <[email protected]>
Co-authored-by: ibraheem-opentensor <[email protected]>
Co-authored-by: Roman <[email protected]>
…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
roman-opentensor and others added 20 commits November 26, 2024 09:58
* Improves the general docstrings of async_substrate_interface.py

---------

Co-authored-by: Cameron Fairchild <[email protected]>
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 <[email protected]>
* 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-opentensor ibraheem-opentensor requested a review from a team November 27, 2024 20:51
@ibraheem-opentensor ibraheem-opentensor merged commit 84851a4 into master Nov 27, 2024
32 checks passed
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