HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.37k stars 2.31k forks source link

Cannot use newer Versions of jsonschema at Backend. #6192

Open lanluu opened 1 month ago

lanluu commented 1 month ago

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!

jombooth commented 1 month ago

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.

csbrown commented 1 month ago

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