Skip to content

Release/9.19.0rc1#835

Open
ibraheem-abe wants to merge 138 commits intomainfrom
release/9.19.0rc1
Open

Release/9.19.0rc1#835
ibraheem-abe wants to merge 138 commits intomainfrom
release/9.19.0rc1

Conversation

@ibraheem-abe
Copy link
Collaborator

What's Changed

New Contributors

Full Changelog: v9.18.1...v9.19.0rc1

thewhaleking and others added 30 commits October 27, 2025 23:15
Replace overly broad `except Exception` catches with specific exception types
to improve error handling clarity and debugging:

- subtensor_interface.py: Handle both TimeoutError and asyncio.TimeoutError
  for substrate initialization timeout (resolves TODO comment)
- utils.py (is_valid_github_url): Catch ValueError, TypeError, AttributeError
  for URL parsing exceptions (resolves TODO comment)
- utils.py (normalize_hyperparameters): Catch KeyError, ValueError, TypeError,
  AttributeError for parameter normalization
- wallets.py (new_hotkey): Catch ValueError, TypeError for Keypair.create_from_uri
- wallets.py (new_coldkey): Catch ValueError, TypeError for Keypair.create_from_uri
- wallets.py (wallet_create): Catch ValueError, TypeError, KeyFileError for
  keypair and wallet creation

This change improves code quality by making exception handling more explicit
and easier to debug while maintaining the same error recovery behavior.
Per reviewer feedback: bittensor_wallet.Keypair.create_from_uri() only raises
TypeError, not ValueError. Removed ValueError from exception tuples on lines
380 and 431.
ibraheem-abe and others added 25 commits February 9, 2026 14:03
…mismatches-in-hyperparam-set

Handle different types in `sudo set` with arbitrary hyperparams
…f-formatting-workflow

Optimises the workflow for ruff.
feat: Add hyperparams: sudo_set_sn_owner_hotkey, sudo_set_subnet_owner_hotkey, sudo_set_recycle_or_burn
@ibraheem-abe ibraheem-abe added Do not merge Release subtensor-localnet:testnet Run e2e tests based on subtensor-localnet:testnet docker image. labels Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do not merge Release subtensor-localnet:testnet Run e2e tests based on subtensor-localnet:testnet docker image.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants