diff --git a/dandi/files/bases.py b/dandi/files/bases.py index 45f5929f5..c105f9bd6 100644 --- a/dandi/files/bases.py +++ b/dandi/files/bases.py @@ -18,7 +18,6 @@ from dandischema.models import BareAsset, CommonModel from dandischema.models import Dandiset as DandisetMeta from dandischema.models import get_schema_version -from etelemetry import get_project from packaging.version import Version from pydantic import ValidationError import requests @@ -737,6 +736,8 @@ def _get_nwb_inspector_version(): _current_nwbinspector_version = get_package_version(name="nwbinspector") # Ensure latest version of NWB Inspector is installed and used client-side try: + from etelemetry import get_project + max_version = Version( get_project(repo="NeurodataWithoutBorders/nwbinspector")["version"] )