HumanSignal / HumanSignal/label-studio
Support Numpy 2
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
Could you please support the use of label-studio with Numpy version 2? :-)
I was running into an issue with `uv add label-studio` in a virtualenv where I have a modern Tensorflow version installed:
Label Studio 1.17.0 requires numpy>=1.26.4,<2.0.0, but your TensorFlow installation (2.19.0) depends on ml-dtypes>=0.5.1, which in turn requires numpy>=2.1.0. These requirements are incompatible.
Maybe simply changing from `^` to `>=` here would allow the Numpy 2 usage?
https://github.com/HumanSignal/label-studio/blob/28151e7f134d04574720da4775529566f05ca6f4/pyproject.toml#L182
For example for pandas I see you are already using `>=` here:
https://github.com/HumanSignal/label-studio/blob/28151e7f134d04574720da4775529566f05ca6f4/pyproject.toml#L184
Contributor guide
Assessment
This issue has not been assessed yet.