Installation introspection.
Functions
execute_system_info(**kwargs) -> Dict[str, Any]
Report installation details for the running TuiML install.
Backs the
tuiml_system_info tool.Parameters
check_latest
bool
= True
Also check whether an update is available, against whichever channel this install came from (arrives via
**kwargs).
Returns
result
dict
On success: status ('success'), version, install_method, install_source, upgrade_hint, package_path, site_packages, python_executable, python_version, platform, session_seed, plus installed_commit for a VCS install. When check_latest, latest_version and latest_released (or latest_version_error) are reported on every channel. What update_available is measured against follows install_source:
- •
pypi— the released version. - •
git— the tracked branch head, addingtracking_refand
latest_commit (or latest_commit_error), since a branch install moves without the version string changing.
- •
editable— nothing;update_availableis False, because a dev
git pull. On failure: status ('error'), error and error_type.