Schema mismatch between server and client
Opened this issue · 1 comments
kabilar commented
Description
Hi team, the following steps recreate an issue I have run into today and in the past:
- I haven't uploaded to DANDI in a while, so upgraded the DANDI Client (
pip install dandi --upgrade
) to 0.62.4. - Ran
dandi -l debug upload -i dandi-staging
, which returned the following error:Error: Server requires schema version 0.6.8; client only supports 0.6.6. You may need to upgrade dandi and/or dandischema.
- The installed
dandischema
version was0.10.0
. When I upgradeddandischema
to0.10.2
, I no longer received the schema mismatch error.
Possible solution
- Could we start to pin the
dandischema
version more strictly in the DANDI Client's requirements so that this mismatch is avoided? Currently it is set to a range (i.e.dandischema >= 0.9.0, < 0.11
) and so it does not necessarily get upgraded whendandi
is upgraded.
Thank you.
kabilar commented
cc @aaronkanzer