-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update dandischema #1975
Comments
Ping @dandi/archive-maintainers |
Working on it now |
It seems that the GUI doesn't yet work with the new discriminated union feature in |
@jjnesbitt and @mvandenburgh - could we add a basic programmatic test added for the gui? it seems like we keep running into this concern with schema changes, so that we can evaluate this before we merge such changes in the future? |
We actually have a test like that already, it failing was what alerted us to this issue - https://github.com/dandi/dandi-archive/actions/runs/9897632400/job/27343595576?pr=1976. The breakage happened because the CLI upgraded its version of I think going forward, we should develop a more structured approach to schema upgrades so that things are more coordinated between the CLI and API/GUI release. @waxlamp I recall we've discussed this before, but never got anything concrete worked out. |
Oh, I see now the CLI doesn't pin it's version of dandischema, so it wasn't an explicit action that caused this. Still, I think we need to put together some sort of schema upgrade "runbook" here |
I think the core reason for this situation is that dandi/dandi-schema#245 was merged before any testing or verification against the API or GUI was done. I agree with Mike that we should have a well structured playbook for doing schema upgrades. |
One possibly suspect is the inclusion of the |
🚀 Issue was released in |
dandischema 0.10.2 was released yesterday, and it increased the schema version to 0.6.8. As a result, uploads from clients using the new version are failing because "Server requires schema version 0.6.7". Please update the version of dandischema used by the server.
The text was updated successfully, but these errors were encountered: