import importlib


def get_version(version_module_name):
    """Load currently declared package version."""

    version_module = importlib.import_module(version_module_name)
    # always reload
    importlib.reload(version_module)

    version = f"{version_module.__version__}"
    print(f"version is {version}")
    return version