dandi / dandi-cli

DANDI command line client to facilitate common operations
https://dandi.readthedocs.io/
Apache License 2.0
22 stars 27 forks source link

DEVELOPMENT.md test instructions give many failing tests #1525

Closed asmacdo closed 1 week ago

asmacdo commented 1 week ago

Using the dev docs

I'm guessing theres some more setup I'm missing?

tox -e py3

============================== 438 passed, 1 skipped, 2 xfailed, 8 xpassed, 274 errors in 363.93s (0:06:03) ===============================
py3: exit 1 (375.39 seconds) /home/austin/devel/dandi-cli> coverage run -m pytest -v dandi pid=260277
  py3: FAIL code 1 (383.46=setup[7.86]+cmd[0.21,375.39] seconds)
  evaluation failed :( (383.58 seconds)

I'm using the exact venv setup from those docs.

pip freeze --local ``` aiobotocore==2.15.2 aiohappyeyeballs==2.4.3 aiohttp==3.11.0 aioitertools==0.12.0 aiosignal==1.3.1 annotated-types==0.7.0 anys==0.3.0 arrow==1.3.0 asciitree==0.3.3 attrs==24.2.0 bidsschematools==0.7.2 blessed==1.20.0 botocore==1.35.36 cfgv==3.4.0 ci-info==0.3.0 click-didyoumean==0.3.1 coverage==7.6.4 -e git+ssh://git@github.com/dandi/dandi-cli.git@d5c4a3fcba0c79102ca50e94b62f6c7c671c3b35#egg=dandi dandischema==0.10.4 dnspython==2.7.0 email_validator==2.2.0 etelemetry==0.3.1 fasteners==0.19 fqdn==1.5.1 frozenlist==1.5.0 fscacher==0.4.1 fsspec==2024.10.0 h5py==3.12.1 hdmf==3.14.5 hdmf_zarr==0.9.0 identify==2.6.2 interleave==0.2.1 isodate==0.7.2 isoduration==20.11.0 jaraco.classes==3.4.0 jaraco.context==6.0.1 jaraco.functools==4.1.0 jeepney==0.8.0 joblib==1.4.2 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keyring==25.5.0 keyrings.alt==5.0.2 more-itertools==10.5.0 natsort==8.4.0 nodeenv==1.9.1 numcodecs==0.14.0 nwbinspector==0.5.2 opencv-python==4.10.0.84 pandas==2.2.3 pre_commit==4.0.1 propcache==0.2.0 pycryptodomex==3.21.0 pydantic==2.9.2 pydantic_core==2.23.4 pynwb==2.8.2 pyout==0.7.3 pytest-cov==6.0.0 pytest-mock==3.14.0 pytest-rerunfailures==14.0 pytest-timeout==2.3.1 pytz==2024.2 referencing==0.35.1 responses==0.25.3 rfc3339-validator==0.1.4 rfc3987==1.3.8 rpds-py==0.21.0 s3fs==2024.10.0 scipy==1.14.1 SecretStorage==3.3.3 semantic-version==2.10.0 tenacity==9.0.0 threadpoolctl==3.5.0 types-python-dateutil==2.9.0.20241003 typing_extensions==4.12.2 tzdata==2024.2 uri-template==1.3.0 vcrpy==6.0.2 webcolors==24.11.1 yarl==1.17.1 zarr==2.18.3 zarr-checksum==0.4.2 ```
asmacdo commented 1 week ago

Problem appeared to be caused by a locally running docker-compose dandi-archive instance, I guess it had some collisions.