(module_name: str)
| 355 | |
| 356 | |
| 357 | def _module_version(module_name: str) -> str: |
| 358 | try: |
| 359 | mod = __import__(module_name) |
| 360 | version = getattr(mod, "__version__", None) |
| 361 | if version: |
| 362 | return str(version) |
| 363 | return "unknown" |
| 364 | except Exception: |
| 365 | return "not-installed" |
| 366 | |
| 367 | |
| 368 | def collect_version_summary( |
no outgoing calls
no test coverage detected