Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
306 commits
Select commit Hold shift + click to select a range
b6628c1
sleep 0.25
Apr 8, 2025
14ebd6e
sleep 3
Apr 8, 2025
ec5aec1
try to fix commit weights
Apr 8, 2025
ccb8f9b
try to fix set weights
Apr 8, 2025
b178f2e
try to fix test_commit (increase final wait)
Apr 8, 2025
7e73e85
increase Validator wait_for timeout
Apr 8, 2025
e63253f
oops
Apr 8, 2025
81cf799
incentive
Apr 8, 2025
2277cfd
remove unnecessary netuid from `next_tempo` (bug if subnet number is …
Apr 8, 2025
2102639
fixed `test_incentive.py` (subtensor issue)
Apr 8, 2025
c8b0415
fix `Using CPython 3.13.2 interpreter error: Failed to fetch: `https:…
Apr 8, 2025
d19bc8a
debug for `use_and_wait_for_next_nonce` + sleep: float = 0.25
Apr 8, 2025
e839e54
debug to `e2e_test_utils.py`
Apr 8, 2025
8a84cb5
increase timeout to avoid `asyncio.exceptions.TimeoutError`
Apr 8, 2025
b979e9c
increase timeout to avoid `asyncio.exceptions.TimeoutError`
Apr 8, 2025
c46b96d
pypi was on maintenance
Apr 8, 2025
5081de1
review fix
Apr 8, 2025
c30d86e
add debug fix for `test_commit_weights_uses_next_nonce`
Apr 8, 2025
0af421d
add debug fix for `test_commit_weights_uses_next_nonce`
Apr 8, 2025
ba2696f
all tests back
Apr 8, 2025
f130879
limited tests
Apr 8, 2025
59074b1
logging, waiting, limited tests
Apr 8, 2025
98de614
ruff
Apr 8, 2025
b9c5b37
Merge branch 'staging' into fix/roman/hope-incentive-passed-always
basfroman Apr 8, 2025
31ca484
>
Apr 8, 2025
914b53c
all tests
Apr 8, 2025
dd3b3b7
try use SubtensorCI runner
Apr 8, 2025
3dcc570
add tricky waiter to `test_set_weights.py`
Apr 8, 2025
a39f502
add 2 tricky waiter to `test_set_weights.py`
Apr 8, 2025
16dc7ef
add 120 second to waiters
Apr 8, 2025
a5b18e5
bring back `ubuntu-latest`
Apr 8, 2025
b053d98
skip flaky test
Apr 8, 2025
aee1c53
oops
Apr 9, 2025
d1266f0
epoch 3 come
Apr 9, 2025
33e40bd
test_set_weights.py to non-fast-block
Apr 9, 2025
e378733
test_commit_reveal_v3.py to non-fast-block
Apr 9, 2025
18271af
limit tests
Apr 9, 2025
17d061d
test_commit_weights.py to non-fast block
Apr 9, 2025
c43c759
Merge branch 'staging' into feat--silent-aiohttp.ClientOSError
thewhaleking Apr 9, 2025
d1ba410
Fix AxonInfo initialization in get_mock_neuron function
VolodymyrBg Apr 9, 2025
779478b
Merge branch 'staging' into bg
thewhaleking Apr 9, 2025
631a468
Put the version in a single place (toml)
thewhaleking Apr 9, 2025
e4e32df
add log to miner and validator
Apr 10, 2025
0d74ba4
add wait_for to miner start ,wrapp tests result info while
Apr 10, 2025
0f2f825
Merge branch 'staging' into fix/roman/hope-incentive-passed-always
basfroman Apr 10, 2025
893f8cd
origin
Apr 10, 2025
fc99a31
set period for set_weights as tempo
Apr 10, 2025
e1627ef
update test
Apr 10, 2025
9c9bdba
fix neurons call
Apr 10, 2025
17723e1
fix neurons call
Apr 10, 2025
cf0f1f9
fix neurons call
Apr 10, 2025
b7902db
add period argument to set_weights and related calls + fixed tests
Apr 10, 2025
ec5ca29
cleanup
Apr 10, 2025
c1dbc05
add get_next_epoch_start_block
Apr 10, 2025
b70e713
add get_next_epoch_start_block
Apr 10, 2025
2821722
test_commit_weights.py + test_set_weights.py
Apr 10, 2025
ef7d8c5
add commit from template-repo (fix for test_incentive)
Apr 10, 2025
eb50744
add period to `set_weights` in `test_set_weights.py`
Apr 10, 2025
1f7e89c
add period to `set_weights` in `test_set_weights.py`
Apr 10, 2025
2fd2024
Update README.md
sashaphmn Apr 10, 2025
2855b70
add 3 attempts to run validator
Apr 10, 2025
161d146
increase wait time for `test_commit_weights.py`
Apr 10, 2025
104d709
try speedup, especially py3.13 based tests
Apr 10, 2025
a121e5a
all tests back and tests :fingers_crossed: :fingers_crossed:
Apr 10, 2025
77c5321
oops with CRv3
Apr 10, 2025
f8f5b89
convert `wait_for_new_nonce` to sync
Apr 10, 2025
ed39a0f
ubuntu-latest is faster 🏎️
Apr 10, 2025
164d275
test_commit_reveal_v3.py -> fast block correction
Apr 10, 2025
8d3b237
debug subtensor.set_weights regarding nonce
Apr 10, 2025
da6d17f
convert `use_and_wait_for_next_nonce` to decorator and add retry to c…
Apr 10, 2025
8ac2b52
fix assertion
Apr 10, 2025
64b40a5
pass `wait_for_inclusion=True` - we have to be make sure with multipl…
Apr 10, 2025
b3d2efa
cleanup + debug ✅
Apr 10, 2025
7c6ae27
cover all type exceptions with decorator. anyway they come to the log
Apr 10, 2025
dfb77b2
Adds compatibility for torch 2.6.0+
thewhaleking Apr 10, 2025
633783e
Adds compatibility for torch 2.6.0+
thewhaleking Apr 10, 2025
7a04186
Update bittensor/core/async_subtensor.py
basfroman Apr 10, 2025
977966e
Update bittensor/core/subtensor.py
basfroman Apr 10, 2025
bf02150
add debug in case UnknownError to format_error_message
Apr 10, 2025
c0b9c37
fix typo
Apr 10, 2025
a3fff16
Update requiresments/torch.txt file
thewhaleking Apr 10, 2025
10df0c2
argument
Apr 10, 2025
40476b1
Remove requirements directory, change workflows to not use this.
thewhaleking Apr 10, 2025
74b5a1f
Update uv sync to not install cubit
thewhaleking Apr 10, 2025
3b5845e
bumping pytest* version
Apr 10, 2025
d573744
extend logic of `format_error_message`
Apr 10, 2025
66e4f6a
Fix extras
thewhaleking Apr 10, 2025
9e1bff9
replace order in format_error_message
Apr 10, 2025
936214f
extend debug
Apr 10, 2025
86be8ec
Limit extras
thewhaleking Apr 10, 2025
0024a19
add waiting 1 epoch after setting `weights_rate_limit`
Apr 10, 2025
c8a5aff
add different weights generator
Apr 10, 2025
1427d77
test multiple times 3 tests
Apr 10, 2025
e7449a8
try short name - works with local runner
Apr 10, 2025
8a9e988
name uses just static names
Apr 10, 2025
5a998bb
remove specific commit
Apr 10, 2025
39288bb
Merge pull request #2795 from opentensor/fix/roman/hope-incentive-pas…
basfroman Apr 11, 2025
9e7458d
Merge branch 'staging' into feat/thewhaleking/remove-requirements-dir
basfroman Apr 11, 2025
a816685
Merge branch 'staging' into feat/thewhaleking/torch-2.6.0-compat
basfroman Apr 11, 2025
b09aec0
Merge branch 'staging' into patch-2
basfroman Apr 11, 2025
e1be218
Merge branch 'staging' into feat/roman/add-get_next_epoch_start_block
basfroman Apr 11, 2025
7e49e25
Merge pull request #2808 from opentensor/feat/roman/add-get_next_epoc…
basfroman Apr 11, 2025
e9b5234
Merge branch 'staging' into feat/thewhaleking/torch-2.6.0-compat
basfroman Apr 11, 2025
e1ad0c3
Merge branch 'staging' into feat/thewhaleking/remove-requirements-dir
basfroman Apr 11, 2025
a70bee8
Merge pull request #2811 from opentensor/feat/thewhaleking/torch-2.6.…
basfroman Apr 11, 2025
a77df26
Merge branch 'staging' into feat/thewhaleking/remove-requirements-dir
Apr 11, 2025
9b6d63e
Merge branch 'staging' into patch-2
basfroman Apr 11, 2025
37c12f3
Merge branch 'staging' into fix/zyzniewski/async_set_subnet_identity_…
basfroman Apr 11, 2025
ad15edb
Merge branch 'staging' into fix/zyzniewski/async_raise_error
basfroman Apr 11, 2025
5214ccc
Merge branch 'staging' into feat--silent-aiohttp.ClientOSError
basfroman Apr 11, 2025
355fcb4
Merge branch 'staging' into bg
basfroman Apr 11, 2025
8799239
Update README.md
sashaphmn Apr 11, 2025
0f7a0ee
f Update CONTRIBUTING.md
Hack666r Apr 11, 2025
b69238c
Update settings.py
petryshkaCODE Apr 11, 2025
f4a6fe5
Merge branch 'staging' into f
thewhaleking Apr 11, 2025
4c00111
Update requirements checking.
thewhaleking Apr 11, 2025
14936be
Typo
thewhaleking Apr 11, 2025
e2d9a3e
Test (will be reverted)
thewhaleking Apr 11, 2025
d756fdb
Typo
thewhaleking Apr 11, 2025
f63bb3e
Remove unused extra
thewhaleking Apr 11, 2025
527efb8
Merge branch 'staging' into f
basfroman Apr 11, 2025
38d3ccb
Merge pull request #2813 from Hack666r/f
basfroman Apr 11, 2025
954c7c0
Merge branch 'staging' into patch-2
basfroman Apr 11, 2025
70b0704
Merge branch 'staging' into feat--silent-aiohttp.ClientOSError
basfroman Apr 11, 2025
dc2e81b
Merge branch 'staging' into f
basfroman Apr 11, 2025
6246317
Merge branch 'staging' into fix/zyzniewski/async_raise_error
basfroman Apr 11, 2025
50afd13
Merge branch 'staging' into feat/thewhaleking/remove-requirements-dir
basfroman Apr 11, 2025
faca6a9
Merge pull request #2809 from sashaphmn/patch-2
basfroman Apr 11, 2025
67197f6
Merge branch 'staging' into feat/thewhaleking/remove-requirements-dir
basfroman Apr 11, 2025
0932415
sometimes it's still flaky because the chain returns data with time o…
Apr 11, 2025
62f76f7
Merge branch 'staging' into fix/roman/add-more-time-to-crv3-test
basfroman Apr 11, 2025
ec1683e
Merge pull request #2816 from opentensor/fix/roman/add-more-time-to-c…
basfroman Apr 11, 2025
4218592
Update helpers.py
VolodymyrBg Apr 11, 2025
99e7317
Merge branch 'staging' into bg
basfroman Apr 11, 2025
154cc5c
Update CONTRIBUTING.md
sashaphmn Apr 12, 2025
cd2e423
Update broken link in `CONTRIBUTING.md`
cypherpepe Apr 12, 2025
b46e39a
Update README.md
sashaphmn Apr 13, 2025
33395a4
Update helpers.py
VolodymyrBg Apr 13, 2025
f45c8b6
Merge branch 'staging' into patch-4
thewhaleking Apr 14, 2025
bcabf5a
Merge branch 'staging' into master
thewhaleking Apr 14, 2025
cde5aa1
Merge branch 'staging' into feat/thewhaleking/remove-requirements-dir
basfroman Apr 14, 2025
4e9fb0f
Merge remote-tracking branch 'origin/staging' into feat/thewhaleking/…
thewhaleking Apr 14, 2025
fd9029e
Merge branch 'feat/thewhaleking/remove-requirements-dir' into feat/th…
thewhaleking Apr 14, 2025
237bd6f
Update test config.
thewhaleking Apr 14, 2025
86d4367
Merge pull request #2812 from opentensor/feat/thewhaleking/remove-req…
thewhaleking Apr 14, 2025
f59afd3
Merge branch 'staging' into feat/thewhaleking/version-in-one-place
thewhaleking Apr 14, 2025
685edf5
Update CONTRIBUTING.md
sashaphmn Apr 14, 2025
c7dcb68
Removed 'file' param from dependabot.yml
thewhaleking Apr 14, 2025
d6507a0
Merge remote-tracking branch 'origin/feat/thewhaleking/version-in-one…
thewhaleking Apr 14, 2025
d9d2fcf
Merge branch 'staging' into master
thewhaleking Apr 14, 2025
a0eb836
Updated other reference
thewhaleking Apr 14, 2025
64db9e1
Merge branch 'staging' into patch-3
thewhaleking Apr 14, 2025
074f0f1
Merge pull request #2806 from opentensor/feat/thewhaleking/version-in…
thewhaleking Apr 14, 2025
a941e06
Merge branch 'staging' into patch-3
thewhaleking Apr 14, 2025
025d13a
Merge pull request #2820 from opentensor/patch-3
ibraheem-abe Apr 14, 2025
bf220a9
Merge branch 'staging' into master
thewhaleking Apr 14, 2025
7996f27
updates changelog
ibraheem-abe Apr 14, 2025
07e6b63
Merge pull request #2821 from opentensor/changelog/9.3.1a1
ibraheem-abe Apr 14, 2025
50c29ba
Remove cubit as an extra.
thewhaleking Apr 14, 2025
da59c88
Remove other reference to cubit
thewhaleking Apr 14, 2025
044a495
Merge pull request #2823 from opentensor/feat/thewhaleking/remove-cub…
thewhaleking Apr 14, 2025
7b8181b
add timelock module
Apr 14, 2025
26a72e2
add import to main level
Apr 14, 2025
2a8edb0
add integration tests
Apr 14, 2025
34de0ef
bumping deps version
Apr 14, 2025
999c51b
remove wrong import
Apr 14, 2025
8f26b55
Update bittensor/core/settings.py
basfroman Apr 14, 2025
c2b3597
Merge branch 'staging' into f
basfroman Apr 14, 2025
a4707f8
fix https://github.com/opentensor/bittensor/issues/2794
Apr 14, 2025
897e492
add test
Apr 14, 2025
ca5da26
fix e2e test
Apr 14, 2025
44ab8c3
replace waiting logic for `test_commit_reveal_v3.py`
Apr 14, 2025
2e67a4a
Merge pull request #2826 from opentensor/fix/roman/get-metagraph-iden…
basfroman Apr 14, 2025
bf56e08
Merge branch 'staging' into fix/roman/test_commit_reveal_v3
basfroman Apr 14, 2025
eefb2fe
Merge branch 'staging' into feat/roman/add-timelock
basfroman Apr 14, 2025
a10be9e
Merge pull request #2827 from opentensor/fix/roman/test_commit_reveal_v3
basfroman Apr 15, 2025
45b75d7
Merge branch 'staging' into feat/roman/add-timelock
basfroman Apr 15, 2025
5c9961f
add extrinsics
Apr 15, 2025
4c7df84
add extrinsics call in Async/Subtensor
Apr 15, 2025
c66e40d
replace inner call with subtensor call in e2e test
Apr 15, 2025
9e30620
add unit tests for extrinsics
Apr 15, 2025
4b0ff32
add unit tests subtensor calls
Apr 15, 2025
39bc79b
fix docsctings
Apr 15, 2025
d2eec00
Merge pull request #2828 from opentensor/feat/roman/start-call-extrinsic
basfroman Apr 15, 2025
35b7e2d
Merge branch 'staging' into feat/roman/add-timelock
basfroman Apr 15, 2025
55899a6
Merge branch 'staging' into fix/zyzniewski/async_raise_error
basfroman Apr 15, 2025
2703462
Merge pull request #2824 from opentensor/feat/roman/add-timelock
basfroman Apr 15, 2025
538de5a
Merge branch 'staging' into fix/zyzniewski/async_raise_error
basfroman Apr 15, 2025
18f17ae
Merge pull request #2771 from opentensor/fix/zyzniewski/async_raise_e…
basfroman Apr 15, 2025
a0b39f8
Merge branch 'staging' into fix/zyzniewski/async_set_subnet_identity_…
basfroman Apr 15, 2025
3623eac
pythonic way
Apr 15, 2025
6b8a88a
Merge pull request #2772 from opentensor/fix/zyzniewski/async_set_sub…
basfroman Apr 15, 2025
3e17001
Merge branch 'staging' into f
basfroman Apr 15, 2025
c1a1861
Merge branch 'staging' into master
thewhaleking Apr 15, 2025
fe084d5
Merge pull request #2814 from petryshkaCODE/f
thewhaleking Apr 15, 2025
1485f27
Merge branch 'staging' into master
thewhaleking Apr 15, 2025
fb4c82f
Merge branch 'staging' into bg
thewhaleking Apr 16, 2025
6676e7d
add comment for `5C4hrfjw9DjXZTzV3MwzrrAr9P1MJhSrvWGWqi1eSuyUpnhM`
Apr 16, 2025
8b22aba
improve start call extrinsics
Apr 16, 2025
33e4a30
test_reveal_commitments.py
Apr 16, 2025
4546a0e
test_commitment.py
Apr 16, 2025
eb8dd4e
test_delegate.py
Apr 16, 2025
5a35993
test_subtensor_functions.py
Apr 16, 2025
b36f134
test_staking.py
Apr 16, 2025
f8ca960
test_metagraph.py
Apr 16, 2025
a840a13
test_incentive.py
Apr 16, 2025
90912c6
test_hotkeys.py
Apr 16, 2025
d704ac6
test_dendrite.py
Apr 16, 2025
8310023
add `asyncio_default_fixture_loop_scope` to pytest.ini to avoid warnings
Apr 16, 2025
6b5a8c5
bring back our version for CI
Apr 16, 2025
5ebdff6
bumping ruff version
Apr 16, 2025
3dbb002
Merge pull request #2831 from opentensor/feat/roman/ruff-version
basfroman Apr 16, 2025
7e9e2f0
Merge branch 'staging' into fix/roman/e2e-relared-with-start-call
Apr 16, 2025
c54a406
ruff
Apr 16, 2025
f879848
remove commented stuff
Apr 17, 2025
3cc54ef
avoid dynamic amounts related assertions errors for metagraph_info
Apr 17, 2025
7352ea1
avoid dynamic amounts related assertions errors for metagraph_info
Apr 17, 2025
0792937
metagraph_info
Apr 17, 2025
74f8439
flaky
Apr 17, 2025
8e71028
comment
Apr 17, 2025
9d4509f
debug issue
Apr 17, 2025
91a5a51
ruff
Apr 17, 2025
2698f8a
check weird behavior and add logging.console
Apr 17, 2025
5888ce0
echo "test-files=$test_files" >> "$GITHUB_OUTPUT"
Apr 17, 2025
277f998
apply retry to run e2e test
Apr 17, 2025
66f2e86
Update bittensor/core/async_subtensor.py
basfroman Apr 17, 2025
14f6033
Update bittensor/core/subtensor.py
basfroman Apr 17, 2025
46aedc1
add e2e tests helper
Apr 17, 2025
0da5c80
apply helper to e2e tests
Apr 17, 2025
53762f7
Merge pull request #2830 from opentensor/fix/roman/e2e-relared-with-s…
basfroman Apr 17, 2025
bf85efc
add module description
Apr 17, 2025
45ec064
Update bittensor/core/timelock.py
basfroman Apr 17, 2025
354de9f
Merge branch 'staging' into patch-4
basfroman Apr 17, 2025
f3e5929
Merge branch 'staging' into bg
basfroman Apr 17, 2025
922b9b3
Merge branch 'staging' into feat--silent-aiohttp.ClientOSError
basfroman Apr 17, 2025
3f02967
Merge pull request #2833 from opentensor/feat/roma/extend-the-timeloc…
basfroman Apr 17, 2025
0cc566c
Merge branch 'staging' into master
thewhaleking Apr 17, 2025
ef856db
Merge branch 'staging' into bg
thewhaleking Apr 17, 2025
e1b5302
remove rao endpoint from settings
Apr 17, 2025
b0c17e2
Merge pull request #2818 from cypherpepe/master
thewhaleking Apr 17, 2025
6aa5bd3
Merge branch 'staging' into patch-4
thewhaleking Apr 17, 2025
887da5b
Merge pull request #2819 from sashaphmn/patch-4
thewhaleking Apr 17, 2025
a26c6c2
Merge branch 'staging' into bg
thewhaleking Apr 17, 2025
0c75b51
Merge pull request #2803 from VolodymyrBg/bg
thewhaleking Apr 17, 2025
81cfb33
Merge branch 'staging' into feat--silent-aiohttp.ClientOSError
thewhaleking Apr 17, 2025
ac475f0
Merge pull request #2770 from Thykof/feat--silent-aiohttp.ClientOSError
thewhaleking Apr 17, 2025
c51dac9
Merge branch 'staging' into fix/roman/rao-endpoint-doesnt-exist-anymore
basfroman Apr 17, 2025
f9bf02d
Merge pull request #2834 from opentensor/fix/roman/rao-endpoint-doesn…
basfroman Apr 17, 2025
45945ec
updates changelog and version
ibraheem-abe Apr 17, 2025
38a9a05
Merge pull request #2836 from opentensor/changelog/940
ibraheem-abe Apr 17, 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
55 changes: 6 additions & 49 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade uv
uv pip install ruff -c requirements/dev.txt
uv pip install ruff==0.11.5

- save_cache:
name: Save cached ruff venv
Expand Down Expand Up @@ -68,9 +68,7 @@ jobs:
name: Install dependencies and Check compatibility
command: |
if [ "$REQUIREMENTS_CHANGED" == "true" ]; then
sudo apt-get update
sudo apt-get install -y jq curl
./scripts/check_compatibility.sh << parameters.python_version >>
python -m pip install ".[dev,cli]" --dry-run --python-version << parameters.python_version >> --no-deps
else
echo "Skipping compatibility checks..."
fi
Expand All @@ -87,31 +85,19 @@ jobs:
steps:
- checkout

- restore_cache:
name: Restore cached venv
keys:
- v2-pypi-py<< parameters.python-version >>-{{ checksum "requirements/prod.txt" }}+{{ checksum "requirements/dev.txt" }}
- v2-pypi-py<< parameters.python-version >>

- run:
name: Update & Activate venv
command: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade uv
uv sync --all-extras --dev

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

- run:
name: Install Bittensor
command: |
. .venv/bin/activate
uv sync --all-extras --dev
uv sync --extra dev --dev

- run:
name: Instantiate Mock Wallet
Expand Down Expand Up @@ -178,32 +164,20 @@ jobs:
steps:
- checkout

- restore_cache:
name: Restore cached venv
keys:
- v2-pypi-py<< parameters.python-version >>-{{ checksum "requirements/prod.txt" }}+{{ checksum "requirements/dev.txt" }}
- v2-pypi-py<< parameters.python-version >>

- run:
name: Update & Activate venv
command: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade uv
uv sync --all-extras --dev
uv sync --extra dev --dev
uv pip install flake8

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

- run:
name: Install Bittensor
command: |
. .venv/bin/activate
uv sync --all-extras --dev
uv sync --extra dev --dev

- run:
name: Lint with flake8
Expand Down Expand Up @@ -235,18 +209,6 @@ jobs:
uv pip install --upgrade coveralls
coveralls --finish --rcfile .coveragerc || echo "Failed to upload coverage"

check-version-updated:
docker:
- image: cimg/python:3.10
steps:
- checkout

- run:
name: Version is updated
command: |
[[ $(git diff-tree --no-commit-id --name-only -r HEAD..master | grep bittensor/__init__.py | wc -l) == 1 ]] && echo "bittensor/__init__.py has changed"
[[ $(git diff-tree --no-commit-id --name-only -r HEAD..master | grep VERSION | wc -l) == 1 ]] && echo "VERSION has changed"

check-changelog-updated:
docker:
- image: cimg/python:3.10
Expand Down Expand Up @@ -323,11 +285,6 @@ workflows:

release-branches-requirements:
jobs:
- check-version-updated:
filters:
branches:
only:
- /^(release|hotfix)/.*/
- check-changelog-updated:
filters:
branches:
Expand Down
3 changes: 1 addition & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: ""
file: "requirements/prod.txt"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 0 # Only security updates will be opened as PRs
35 changes: 29 additions & 6 deletions .github/workflows/e2e-subtensor-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
id: get-tests
run: |
test_files=$(find tests/e2e_tests -name "test*.py" | jq -R -s -c 'split("\n") | map(select(. != ""))')
echo "::set-output name=test-files::$test_files"
# keep it here for future debug
# test_files=$(find tests/e2e_tests -type f -name "test*.py" | grep -E 'test_(incentive|commit_weights|set_weights)\.py$' | jq -R -s -c 'split("\n") | map(select(. != ""))')
echo "test-files=$test_files" >> "$GITHUB_OUTPUT"
shell: bash

pull-docker-image:
Expand All @@ -61,7 +63,7 @@ jobs:
path: subtensor-localnet.tar

# Job to run tests in parallel
run:
run-e2e-test:
name: ${{ matrix.test-file }} / Python ${{ matrix.python-version }}
needs:
- find-tests
Expand All @@ -70,7 +72,7 @@ jobs:
timeout-minutes: 45
strategy:
fail-fast: false # Allow other matrix jobs to run even if this job fails
max-parallel: 32 # Set the maximum number of parallel jobs (same as we have cores in SubtensorCI runner)
max-parallel: 32 # Set the maximum number of parallel jobs (same as we have cores in ubuntu-latest runner)
matrix:
os:
- ubuntu-latest
Expand All @@ -89,7 +91,7 @@ jobs:
uses: astral-sh/setup-uv@v4

- name: install dependencies
run: uv sync --all-extras --dev
run: uv sync --extra dev --dev

- name: Download Cached Docker Image
uses: actions/download-artifact@v4
Expand All @@ -99,5 +101,26 @@ jobs:
- name: Load Docker Image
run: docker load -i subtensor-localnet.tar

- name: Run tests
run: uv run pytest ${{ matrix.test-file }} -s
# - name: Run tests
# run: uv run pytest ${{ matrix.test-file }} -s

- name: Run tests with retry
run: |
set +e
for i in 1 2; do
echo "🔁 Attempt $i: Running tests"
uv run pytest ${{ matrix.test-file }} -s
status=$?
if [ $status -eq 0 ]; then
echo "✅ Tests passed on attempt $i"
break
else
echo "❌ Tests failed on attempt $i"
if [ $i -eq 2 ]; then
echo "Tests failed after 2 attempts"
exit 1
fi
echo "Retrying..."
sleep 5
fi
done
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Changelog

## 9.4.0 /2025-04-17

## What's Changed
* Release/9.3.0 by @ibraheem-abe in https://github.com/opentensor/bittensor/pull/2805
* Fix for flaky behavior of `test_incentive`, `test_commit_weights` and `test_set_weights` by @basfroman in https://github.com/opentensor/bittensor/pull/2795
* Add `get_next_epoch_start_block` method to Async/Subtensor by @basfroman in https://github.com/opentensor/bittensor/pull/2808
* Adds compatibility for torch 2.6.0+ by @thewhaleking in https://github.com/opentensor/bittensor/pull/2811
* f Update CONTRIBUTING.md by @Hack666r in https://github.com/opentensor/bittensor/pull/2813
* docs: replaced discord link with documentation by @sashaphmn in https://github.com/opentensor/bittensor/pull/2809
* sometimes it's still flaky because the chain returns data with time offset by @basfroman in https://github.com/opentensor/bittensor/pull/2816
* Remove requirements directory by @thewhaleking in https://github.com/opentensor/bittensor/pull/2812
* version in one place by @thewhaleking in https://github.com/opentensor/bittensor/pull/2806
* Update CONTRIBUTING hyperlinks by @thewhaleking in https://github.com/opentensor/bittensor/pull/2820
* 9.3.1a1: Updates changelog by @ibraheem-abe in https://github.com/opentensor/bittensor/pull/2821
* Remove cubit as extra by @thewhaleking in https://github.com/opentensor/bittensor/pull/2823
* fix/roman/get-metagraph-identities by @basfroman in https://github.com/opentensor/bittensor/pull/2826
* Replace waiting logic for `test_commit_reveal_v3.py` by @basfroman in https://github.com/opentensor/bittensor/pull/2827
* Add `start_call` extrinsic to the sdk by @basfroman in https://github.com/opentensor/bittensor/pull/2828
* Add `timelock` module by @basfroman in https://github.com/opentensor/bittensor/pull/2824
* Fix: raise_error=True in AsyncSubtensor fails to get error_message by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2771
* Fix: async set_subnet_identity_extrinsic doesn't sign the extrinsic by @zyzniewski-reef in https://github.com/opentensor/bittensor/pull/2772
* Update settings.py by @petryshkaCODE in https://github.com/opentensor/bittensor/pull/2814
* Bumping ruff version by @basfroman in https://github.com/opentensor/bittensor/pull/2831
* Fix and improve e2e tests after `start call` new limit in subtensor by @basfroman in https://github.com/opentensor/bittensor/pull/2830
* Add `bittensor.timelock` module description by @basfroman in https://github.com/opentensor/bittensor/pull/2833
* fix: Update broken link in `CONTRIBUTING.md` by @cypherpepe in https://github.com/opentensor/bittensor/pull/2818
* docs: added a new badge by @sashaphmn in https://github.com/opentensor/bittensor/pull/2819
* Fix AxonInfo initialization in get_mock_neuron function by @VolodymyrBg in https://github.com/opentensor/bittensor/pull/2803
* Dendrite: log ClientOSError as Debug by @Thykof in https://github.com/opentensor/bittensor/pull/2770
* remove `rao` endpoint from settings by @basfroman in https://github.com/opentensor/bittensor/pull/2834

## New Contributors
* @Hack666r made their first contribution in https://github.com/opentensor/bittensor/pull/2813
* @petryshkaCODE made their first contribution in https://github.com/opentensor/bittensor/pull/2814
* @cypherpepe made their first contribution in https://github.com/opentensor/bittensor/pull/2818
* @VolodymyrBg made their first contribution in https://github.com/opentensor/bittensor/pull/2803
* @Thykof made their first contribution in https://github.com/opentensor/bittensor/pull/2770

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v9.3.0...v9.4.0

## 9.3.0 /2025-04-09

## What's Changed
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ install:

install-dev:
python3 -m pip install '.[dev]'

install-cubit:
python3 -m pip install '.[cubit]'
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
[![Discord Chat](https://img.shields.io/discord/308323056592486420.svg)](https://discord.gg/bittensor)
[![CodeQL](https://github.com/opentensor/bittensor/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/opentensor/bittensor/actions)
[![PyPI version](https://badge.fury.io/py/bittensor.svg)](https://badge.fury.io/py/bittensor)
[![Codecov](https://codecov.io/gh/opentensor/bittensor/graph/badge.svg)](https://app.codecov.io/gh/opentensor/bittensor)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

---

## Internet-scale Neural Networks <!-- omit in toc -->

[Discord](https://discord.gg/qasY3HA9F9) • [Network](https://taostats.io/) • [Research](https://bittensor.com/whitepaper)
[Discord](https://discord.gg/qasY3HA9F9) • [Network](https://taostats.io/) • [Research](https://bittensor.com/whitepaper) • [Documentation](https://docs.bittensor.com)

</div>

Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

Loading
Loading