label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Cannot use newer Versions of jsonschema at Backend.

Open lanluu opened this issue 1 year ago • 2 comments

Hi Team,

currently, I am implementing Outlines in the Backend's model for Predictions. Unfortunately, Outlines requires the latest Version of jsonschema e.g. 4.x.x but label-studio (version 1.13.0) needs exact the version 3.2.0 from jsonschema.

Do you have any tip?

Thank you for your support!

lanluu avatar Aug 13 '24 09:08 lanluu

Hi @lanluu, this will be addressed on develop soon: https://github.com/HumanSignal/label-studio-sdk/pull/271/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711

Unfortunately this upgrade most likely won't make it into our upcoming 1.13.1 release, but it'll be in the next one.

jombooth avatar Aug 13 '24 15:08 jombooth

This version of jsonschema conflicts with requirements from jupyter. So, one cannot currently simultaneously have an installation of label-studio and recent jupyter.

csbrown avatar Aug 27 '24 18:08 csbrown