Skip to content

Commit bf220a9

Browse files
authored
Merge branch 'staging' into master
2 parents d9d2fcf + 025d13a commit bf220a9

File tree

5 files changed

+6
-24
lines changed

5 files changed

+6
-24
lines changed

.circleci/config.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff 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:

.github/dependabot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
version: 2
22
updates:
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

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

bittensor/core/settings.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
__version__ = "9.3.0"
2-
31
import os
2+
import importlib.metadata
43
import re
54
from pathlib import Path
65

@@ -15,6 +14,8 @@
1514
WALLETS_DIR = USER_BITTENSOR_DIR / "wallets"
1615
MINERS_DIR = USER_BITTENSOR_DIR / "miners"
1716

17+
__version__ = importlib.metadata.version("bittensor")
18+
1819

1920
if not READ_ONLY:
2021
# Create dirs if they don't exist

contrib/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following is a set of guidelines for contributing to Bittensor, which are ho
1818
1. [Refactoring](#refactoring)
1919
1. [Peer Review](#peer-review)
2020
1. [Reporting Bugs](#reporting-bugs)
21-
1. [Suggesting Features](#suggesting-enhancements)
21+
1. [Suggesting Features](#suggesting-enhancements-and-features)
2222

2323

2424
## I don't want to read this whole thing I just have a question!
@@ -70,7 +70,7 @@ And also here.
7070

7171
You can contribute to Bittensor in one of two main ways (as well as many others):
7272
1. [Bug](#reporting-bugs) reporting and fixes
73-
2. New features and Bittensor [enhancements](#suggesting-enhancements)
73+
2. New features and Bittensor [enhancements](#suggesting-enhancements-and-features)
7474

7575
> Please follow the Bittensor [style guide](./STYLE.md) regardless of your contribution type.
7676

0 commit comments

Comments
 (0)