diff --git a/.github/workflows/dev-gallery.yml b/.github/workflows/dev-gallery.yml index fe962bd8e..c55d1c860 100644 --- a/.github/workflows/dev-gallery.yml +++ b/.github/workflows/dev-gallery.yml @@ -22,9 +22,8 @@ jobs: pip install pytest-cov - name: Install package run: | - pip install -e . + pip install -e ".[dandi]" pip install git+https://github.com/neurodatawithoutborders/pynwb@dev - pip install dandi - name: Download testing data and set config path run: | dandi download "https://gui-staging.dandiarchive.org/#/dandiset/204919" diff --git a/.github/workflows/streaming-tests.yml b/.github/workflows/streaming-tests.yml index c72321633..cd32f9454 100644 --- a/.github/workflows/streaming-tests.yml +++ b/.github/workflows/streaming-tests.yml @@ -23,9 +23,7 @@ jobs: run: pip install pytest - name: Install package - run: | - pip install . - pip install dandi + run: pip install ".[dandi]" - name: Install HDMF-zarr # temporary run: pip install hdmf-zarr - name: Install latest HDMF # temporary diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 7c494e1ac..27165cc61 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -29,9 +29,7 @@ jobs: pip install pytest-cov - name: Install package - run: | - pip install . - pip install dandi + run: pip install ".[dandi]" - name: Download testing data and set config path run: | dandi download "https://gui-staging.dandiarchive.org/#/dandiset/204919" diff --git a/.github/workflows/version-gallery.yml b/.github/workflows/version-gallery.yml index 6b60bf2a1..d7a6213a2 100644 --- a/.github/workflows/version-gallery.yml +++ b/.github/workflows/version-gallery.yml @@ -26,9 +26,8 @@ jobs: pip install pytest-cov - name: Install package run: | - pip install -e . + pip install -e ".[dandi]" pip install pynwb==${{ matrix.pynwb-version }} - pip install dandi - name: Download testing data and set config path run: | dandi download "https://gui-staging.dandiarchive.org/#/dandiset/204919" diff --git a/setup.py b/setup.py index a0788c424..8619d666a 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,8 @@ package_dir={"": "src"}, include_package_data=True, # Includes files described in MANIFEST.in in the installation install_requires=install_requires, - extras_require=dict(dandi=["dandi>=0.39.2"], zarr=["hdmf_zarr>=0.3.0"]), + # zarr<2.18.0 because of https://github.com/NeurodataWithoutBorders/nwbinspector/pull/460 + extras_require=dict(dandi=["dandi>=0.39.2", "zarr<2.18.0"], zarr=["hdmf_zarr>=0.3.0", "zarr<2.18.0"]), entry_points={"console_scripts": ["nwbinspector=nwbinspector.nwbinspector:inspect_all_cli"]}, license="BSD-3-Clause", classifiers=[