File tree Expand file tree Collapse file tree 4 files changed +4
-22
lines changed
Expand file tree Collapse file tree 4 files changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -209,18 +209,6 @@ jobs:
209209 uv pip install --upgrade coveralls
210210 coveralls --finish --rcfile .coveragerc || echo "Failed to upload coverage"
211211
212- check-version-updated :
213- docker :
214- - image : cimg/python:3.10
215- steps :
216- - checkout
217-
218- - run :
219- name : Version is updated
220- command : |
221- [[ $(git diff-tree --no-commit-id --name-only -r HEAD..master | grep bittensor/__init__.py | wc -l) == 1 ]] && echo "bittensor/__init__.py has changed"
222- [[ $(git diff-tree --no-commit-id --name-only -r HEAD..master | grep VERSION | wc -l) == 1 ]] && echo "VERSION has changed"
223-
224212 check-changelog-updated :
225213 docker :
226214 - image : cimg/python:3.10
@@ -297,11 +285,6 @@ workflows:
297285
298286 release-branches-requirements :
299287 jobs :
300- - check-version-updated :
301- filters :
302- branches :
303- only :
304- - /^(release|hotfix)/.*/
305288 - check-changelog-updated :
306289 filters :
307290 branches :
Original file line number Diff line number Diff line change 11version : 2
22updates :
33 - package-ecosystem : " pip"
4- directory : " "
5- file : " pyproject.toml"
4+ directory : " /"
65 schedule :
76 interval : " daily"
87 open-pull-requests-limit : 0 # Only security updates will be opened as PRs
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- __version__ = "9.3.0"
2-
31import os
2+ import importlib .metadata
43import re
54from pathlib import Path
65
1514WALLETS_DIR = USER_BITTENSOR_DIR / "wallets"
1615MINERS_DIR = USER_BITTENSOR_DIR / "miners"
1716
17+ __version__ = importlib .metadata .version ("bittensor" )
18+
1819
1920if not READ_ONLY :
2021 # Create dirs if they don't exist
You can’t perform that action at this time.
0 commit comments