bittensor.utils.version#
Attributes#
Exceptions#
| Exception raised for errors in the version check process. | 
Functions#
| 
 | |
| 
 | |
| 
 | Retrieves and saves the latest version of Bittensor. | 
| 
 | Check if the current version of Bittensor is up-to-date with the latest version on PyPi. | 
| 
 | Deprecated, kept for backwards compatibility. Use check_version() instead. | 
Module Contents#
- bittensor.utils.version.VERSION_CHECK_THRESHOLD = 86400#
- exception bittensor.utils.version.VersionCheckError[source]#
- Bases: - Exception- Exception raised for errors in the version check process. - Initialize self. See help(type(self)) for accurate signature. 
- bittensor.utils.version._get_version_from_file(version_file)[source]#
- Parameters:
- version_file (pathlib.Path) 
- Return type:
- Optional[str] 
 
- bittensor.utils.version.get_and_save_latest_version(timeout=15)[source]#
- Retrieves and saves the latest version of Bittensor.