Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema mismatch between server and client #1463

Open
kabilar opened this issue Jul 22, 2024 · 1 comment
Open

Schema mismatch between server and client #1463

kabilar opened this issue Jul 22, 2024 · 1 comment

Comments

@kabilar
Copy link
Member

kabilar commented Jul 22, 2024

Description

Hi team, the following steps recreate an issue I have run into today and in the past:

  1. I haven't uploaded to DANDI in a while, so upgraded the DANDI Client (pip install dandi --upgrade) to 0.62.4.
  2. 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.
    
  3. The installed dandischema version was 0.10.0. When I upgraded dandischema to 0.10.2, I no longer received the schema mismatch error.

Possible solution

  1. 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 when dandi is upgraded.

Thank you.

@kabilar
Copy link
Member Author

kabilar commented Jul 22, 2024

cc @aaronkanzer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant