Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .github/workflows/flake8-and-mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install uv
# uv==0.8.6 is the last version that supports python 3.9
python -m pip install uv==0.8.6
python -m uv sync --extra dev --active

- name: Flake8
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-and-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install uv
# uv==0.8.6 is the last version that supports python 3.9
python -m pip install uv==0.8.6
python -m uv sync --extra dev --active

- name: Unit tests
Expand Down
3 changes: 2 additions & 1 deletion bittensor/utils/btlogging/loggingmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ class LoggingMachine(StateMachine, Logger):

def __init__(self, config: "Config", name: str = BITTENSOR_LOGGER_NAME):
# basics
super(LoggingMachine, self).__init__()
StateMachine.__init__(self)
stdlogging.Logger.__init__(self, name)
self._queue = mp.Queue(-1)
self._primary_loggers = {name}
self._config = self._extract_logging_config(config)
Expand Down
Loading