-
Notifications
You must be signed in to change notification settings - Fork 356
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
Bringing btsdk
up-to-date with staging
branch.
#2210
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…napse fix streaming synapse regression
…napse Revert "fix streaming synapse regression"
…napse fix streaming synapse regression
…eaks ci: update reviewers
Adds updated type in timeouts dendrite
Bumps setuptools ~=70.0.0
Bumps [black](https://github.com/psf/black) from 23.7.0 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@23.7.0...24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
…black-24.3.0 Bump black from 23.7.0 to 24.3.0 in /requirements
- add stacklevel=2 so that the filename of the originating call is logged (requires Python >= 3.8) - move *args before prefix and suffix kwargs so regular logging calls using args, such as in retry, still work as intended To elaborate on the last point, retry does the following: logger.warning('%s, retrying in %s seconds...', e, _delay) and the args e and _delay would land on kwargs prefix and suffix without this patch. Any code relying on prefix and suffix also being positional arguments, is now broken. Note that logger.exception() calls through to logger.error() without compensating for this additional internal call when determining the calling file, on CPython < 3.11. This code works around this issue.
In case prefix and suffix are not used, messages are still prefixed and suffixed with " - ". This patch addresses that and only injects separators between non-empty strings.
Add a unit test for: - correct filename in loglines - prefix= and suffix= kwargs - format string functionality
Check for participation before nomination call
test: subnet list e2e
…is-str ensure msg is str in _concat_msg
…se' into feat/roman/staging-into-btsdk # Conflicts: # bittensor/core/axon.py # bittensor/core/dendrite.py # bittensor/core/stream.py # bittensor/extrinsics/delegation.py # requirements/prod.txt # tests/unit_tests/test_axon.py # tests/unit_tests/test_logging.py
8 tasks
thewhaleking
approved these changes
Aug 7, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Do not merge until PR# 2183 merged into the staging.
Added: