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/9.1.0 #2750

Merged
merged 97 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
9a6e528
tests: refactor duplicated code
zyzniewski-reef Mar 6, 2025
c61a796
Merge branch 'staging' into tests/zyzniewski/refactor_duplicated_code
thewhaleking Mar 6, 2025
73e64dc
revert mock_substrate
zyzniewski-reef Mar 6, 2025
8b4bb67
Merge branch 'staging' into tests/zyzniewski/refactor_duplicated_code
zyzniewski-reef Mar 6, 2025
9b955bb
Merge branch 'staging' into tests/zyzniewski/refactor_duplicated_code
thewhaleking Mar 6, 2025
66be4e9
Merge branch 'staging' into tests/zyzniewski/refactor_duplicated_code
zyzniewski-reef Mar 7, 2025
b34d640
Merge pull request #2724 from opentensor/tests/zyzniewski/refactor_du…
zyzniewski-reef Mar 7, 2025
24550fc
fix: e2e test_metagraph_info
zyzniewski-reef Mar 7, 2025
b3101d0
feat: allow sign_and_send_extrinsic to raise an exception
zyzniewski-reef Mar 6, 2025
f4ffd60
feat: set_delegate_take
zyzniewski-reef Mar 6, 2025
01531e0
refactor: use ChainError as base for new Delegate-related exceptions
zyzniewski-reef Mar 7, 2025
50e2b0d
Use uv for circleci
thewhaleking Mar 7, 2025
36d1e3c
refactor: deduplicate fake_wallet and correctly create Mock
zyzniewski-reef Mar 7, 2025
14d0a5e
unlock Wallet
zyzniewski-reef Mar 7, 2025
21c3aa4
Merge pull request #2729 from opentensor/feat/thewhaleking/uv-for-cir…
thewhaleking Mar 7, 2025
87c0853
docstring typo
zyzniewski-reef Mar 7, 2025
a60c246
Merge branch 'staging' into tests/zyzniewski/fix_Wallet_spec
zyzniewski-reef Mar 7, 2025
bbd34a9
Merge branch 'staging' into tests/zyzniewski/fix_e2e_test_metagraph_info
ibraheem-opentensor Mar 7, 2025
37562ab
Merge pull request #2728 from opentensor/tests/zyzniewski/fix_e2e_tes…
ibraheem-opentensor Mar 8, 2025
c4da857
Merge branch 'staging' into tests/zyzniewski/fix_Wallet_spec
zyzniewski-reef Mar 8, 2025
d3fe8e0
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 8, 2025
d6ae4fa
Merge pull request #2730 from opentensor/tests/zyzniewski/fix_Wallet_…
zyzniewski-reef Mar 10, 2025
cf7268b
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 10, 2025
eb56196
tests: use fake_wallet in test_sign_and_send_extrinsic_raises_error
zyzniewski-reef Mar 10, 2025
b557952
fix: burned_register supports root (0) subnet
zyzniewski-reef Mar 10, 2025
13904da
wait cooldown period to check set_children effect
zyzniewski-reef Mar 10, 2025
a5c5cfc
Merge pull request #2733 from opentensor/tests/zyzniewski/fix_e2e_tes…
zyzniewski-reef Mar 10, 2025
4859c76
Merge branch 'staging' into fix/zyzniewski/burned_register_supports_r…
zyzniewski-reef Mar 10, 2025
2a22adb
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 10, 2025
6e3206a
Update bittensor/core/subtensor.py
zyzniewski-reef Mar 10, 2025
8e4c768
Update bittensor/core/async_subtensor.py
zyzniewski-reef Mar 10, 2025
5ce4b9f
make `raise_error` param optional
zyzniewski-reef Mar 10, 2025
1f4fced
remove unused import
zyzniewski-reef Mar 10, 2025
c86b030
Add stake added
ibraheem-opentensor Mar 10, 2025
1e76bf2
updates dynamic_info
ibraheem-opentensor Mar 10, 2025
d33a4e1
adds safe unstaking
ibraheem-opentensor Mar 10, 2025
1e21b48
Updates staking extrinsic
ibraheem-opentensor Mar 10, 2025
945355c
Updates unit tests for staking/unstaking
ibraheem-opentensor Mar 10, 2025
d7e9589
no need to catch TypeError
zyzniewski-reef Mar 11, 2025
2ee6f7a
Revert "Updates test_incentive"
zyzniewski-reef Mar 11, 2025
a22f45b
tests: wait for Miner/Validator to fully start
zyzniewski-reef Mar 11, 2025
1fffe26
Merge pull request #2737 from opentensor/fix/zyzniewski/test_incentive
ibraheem-opentensor Mar 11, 2025
47a45c3
Ensures we use block for every metagraph call
thewhaleking Mar 11, 2025
b7ff756
Merge branch 'staging' into fix/thewhaleking/not-querying-metagraph-a…
roman-opentensor Mar 11, 2025
40127cd
Adds safe to stake swap
ibraheem-opentensor Mar 11, 2025
0dc6191
update add_stake
ibraheem-opentensor Mar 11, 2025
7caff80
update remove_stake
ibraheem-opentensor Mar 11, 2025
8022705
Updates swap stake
ibraheem-opentensor Mar 11, 2025
eca2c1a
Merge branch 'staging' into feat/safe-staking
ibraheem-opentensor Mar 11, 2025
68f91d8
Updates swap_stake tests
ibraheem-opentensor Mar 11, 2025
f6c86d4
Merge pull request #2738 from opentensor/fix/thewhaleking/not-queryin…
thewhaleking Mar 11, 2025
2ea04fe
Adds e2e test for safe add,remove stake
ibraheem-opentensor Mar 11, 2025
2886372
Updates docstrings + logging
ibraheem-opentensor Mar 11, 2025
5d3b734
Adds swap test
ibraheem-opentensor Mar 11, 2025
0fe7c60
async docs
ibraheem-opentensor Mar 11, 2025
04aabfa
safe stake added to async
ibraheem-opentensor Mar 11, 2025
9449eb7
Merge branch 'staging' into feat/safe-staking
ibraheem-opentensor Mar 11, 2025
7d074d8
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 12, 2025
f43b004
Merge branch 'staging' into fix/zyzniewski/burned_register_supports_r…
zyzniewski-reef Mar 12, 2025
d97a62f
increse test_incentive timeout
zyzniewski-reef Mar 12, 2025
88067d9
fix sudo_set_weights_set_rate_limit
zyzniewski-reef Mar 12, 2025
495d7fc
Merge branch 'staging' into fix/zyzniewski/test_incentive
zyzniewski-reef Mar 12, 2025
39fb38e
refactor: omit return_error_message param in sudo_set_admin_utils
zyzniewski-reef Mar 12, 2025
438f2b3
correct (Optional) return type
zyzniewski-reef Mar 12, 2025
daf0908
tests: wait cooldown period when clearing child keys
zyzniewski-reef Mar 12, 2025
9ded430
Merge pull request #2739 from opentensor/fix/zyzniewski/test_incentive
zyzniewski-reef Mar 12, 2025
f4280b9
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 12, 2025
36f12f6
Merge branch 'staging' into fix/zyzniewski/burned_register_supports_r…
zyzniewski-reef Mar 12, 2025
0d77c55
Merge branch 'staging' into feat/safe-staking
ibraheem-opentensor Mar 12, 2025
2313826
Ruff
ibraheem-opentensor Mar 12, 2025
4e2d06a
Updates stake swap e2e
ibraheem-opentensor Mar 12, 2025
1fd6ee9
ruff
ibraheem-opentensor Mar 12, 2025
818eff9
Updates test_staking test
ibraheem-opentensor Mar 12, 2025
64f183f
Merge pull request #2736 from opentensor/feat/safe-staking
ibraheem-opentensor Mar 12, 2025
80d4512
Bumps version and changelog
ibraheem-opentensor Mar 12, 2025
a3a14cf
Merge pull request #2741 from opentensor/changelog/905
ibraheem-opentensor Mar 12, 2025
0346562
tests: enable test_batch_operations
zyzniewski-reef Mar 13, 2025
77bb23b
Merge branch 'staging' into fix/zyzniewski/burned_register_supports_r…
thewhaleking Mar 13, 2025
e6b3449
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
thewhaleking Mar 13, 2025
14b899a
Merge pull request #2744 from opentensor/tests/zyzniewski/test_batch_…
zyzniewski-reef Mar 13, 2025
1597a3f
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 13, 2025
2756671
Merge branch 'staging' into fix/zyzniewski/burned_register_supports_r…
zyzniewski-reef Mar 13, 2025
572d1fa
Add arg to docstring.
thewhaleking Mar 13, 2025
9f9bd39
Merge remote-tracking branch 'origin/feat/zyzniewski/set_delegate_tak…
thewhaleking Mar 13, 2025
eca5193
Arg raises to docstring
thewhaleking Mar 13, 2025
2300a52
Merge pull request #2732 from opentensor/fix/zyzniewski/burned_regist…
zyzniewski-reef Mar 13, 2025
a141c49
Merge branch 'staging' into feat/zyzniewski/set_delegate_take
zyzniewski-reef Mar 13, 2025
ffa3f1e
Merge pull request #2731 from opentensor/feat/zyzniewski/set_delegate…
zyzniewski-reef Mar 13, 2025
825a373
Updates subtensor
ibraheem-opentensor Mar 13, 2025
4d23bea
Merge pull request #2745 from opentensor/update/rate-tolerance-kwarg
ibraheem-opentensor Mar 13, 2025
3cf1bbb
Updates changelog
ibraheem-opentensor Mar 13, 2025
16aa10b
Merge pull request #2747 from opentensor/changelog/905-2
ibraheem-opentensor Mar 13, 2025
f817dc1
Updates workflow to run e2e when merging to master
ibraheem-opentensor Mar 13, 2025
f825652
Merge pull request #2748 from opentensor/fix/add-e2e-against-master
ibraheem-opentensor Mar 13, 2025
58f02ee
Bumps version and changelog
ibraheem-opentensor Mar 13, 2025
9730f51
Merge pull request #2749 from opentensor/changelog/910
ibraheem-opentensor Mar 13, 2025
251cf97
Merge branch 'master' into release/9.1.0
ibraheem-opentensor Mar 13, 2025
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
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
command: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip install ruff -c requirements/dev.txt
python -m pip install --upgrade uv
uv pip install ruff -c requirements/dev.txt

- save_cache:
name: Save cached ruff venv
Expand Down Expand Up @@ -98,20 +98,20 @@ jobs:
command: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install '.[dev]'
python -m pip install --upgrade uv
uv sync --all-extras --dev

- save_cache:
name: Save cached venv
paths:
- "env/"
- "venv/"
key: v2-pypi-py<< parameters.python-version >>-{{ checksum "requirements/prod.txt" }}+{{ checksum "requirements/dev.txt" }}

- run:
name: Install Bittensor
command: |
. .venv/bin/activate
pip install -e '.[dev]'
uv sync --all-extras --dev

- run:
name: Instantiate Mock Wallet
Expand Down Expand Up @@ -189,9 +189,9 @@ jobs:
command: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install '.[dev]'
pip install flake8
python -m pip install --upgrade uv
uv sync --all-extras --dev
uv pip install flake8

- save_cache:
name: Save cached venv
Expand All @@ -203,7 +203,7 @@ jobs:
name: Install Bittensor
command: |
. .venv/bin/activate
pip install -e '.[dev]'
uv sync --all-extras --dev

- run:
name: Lint with flake8
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
- run:
name: Combine Coverage
command: |
pip3 install --upgrade coveralls
uv pip install --upgrade coveralls
coveralls --finish --rcfile .coveragerc || echo "Failed to upload coverage"

check-version-updated:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-subtensor-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ concurrency:

on:
push:
branches: [main, development, staging]
branches: [master, development, staging]

pull_request:
branches: [main, development, staging]
branches: [master, development, staging]
types: [ opened, synchronize, reopened, ready_for_review ]

workflow_dispatch:
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 9.1.0 /2025-03-12

## What's Changed
* Refactor duplicated unittests code by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2724
* Use uv for circleci by @thewhaleking in https://github.com/opentensor/bittensor/pull/2729
* Fix E2E test_metagraph_info by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2728
* Tests: deduplicate fake_wallet and correctly create Mock by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2730
* E2E Test: wait cooldown period to check set_children effect by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2733
* Tests: wait for Miner/Validator to fully start by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2737
* All metagraph subtensor methods now use block by @thewhaleking in https://github.com/opentensor/bittensor/pull/2738
* Tests: increse test_incentive timeout + fix sudo_set_weights_set_rate_limit by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2739
* Feat/safe staking by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2736
* 9.0.5: Bumps version and changelog by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2741
* Tests: enable E2E test_batch_operations by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2744
* Fix: burned_register supports root subnet (netuid=0 param) by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2732
* Feat: set_delegate_take by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2731
* Renames rate_threshold -> rate_tolerance by @ibraheem-opentensor in https://github.com/opentensor/bittensor/pull/2745

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.0.4...v9.1.0

## 9.0.4 /2025-03-06

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.0.4
9.1.0
Loading
Loading