Request: update or loosen requirements on package versions
Describe the bug There are a few dependencies for this project which are pinned to old versions and makes it difficult to install with other up to date libraries.
The main incompatibility I've found is the most recent version of jupyter notebook doesn't seem to be compatible because of the jsonschema dependency:
Using version ^1.13.1 for label-studio
Updating dependencies
Resolving dependencies... (4.9s)
Because no versions of notebook match >7.2.2,<7.3.0a0 || >7.3.0a0,<7.3.0a1 || >7.3.0a1,<7.3.0b0 || >7.3.0b0,<7.3.0b1 || >7.3.0b1,<8.0.0
and notebook (7.3.0a0) depends on jupyterlab-server (>=2.27.1,<3), notebook (>7.2.2,<7.3.0a1 || >7.3.0a1,<7.3.0b0 || >7.3.0b0,<7.3.0b1 || >7.3.0b1,<8.0.0) requires jupyterlab-server (>=2.27.1,<3).
And because notebook (7.3.0a1) depends on jupyterlab-server (>=2.27.1,<3)
and notebook (7.3.0b0) depends on jupyterlab-server (>=2.27.1,<3), notebook (>7.2.2,<7.3.0b1 || >7.3.0b1,<8.0.0) requires jupyterlab-server (>=2.27.1,<3).
(1) So, because notebook (7.3.0b1) depends on jupyterlab-server (>=2.27.1,<3)
and notebook (7.2.2) depends on jupyterlab-server (>=2.27.1,<3), notebook (>=7.2.2,<8.0.0) requires jupyterlab-server (>=2.27.1,<3).
Because no versions of jupyterlab-server match >2.27.1,<2.27.2 || >2.27.2,<2.27.3 || >2.27.3,<3
and jupyterlab-server (2.27.1) depends on jsonschema (>=4.18.0), jupyterlab-server (>=2.27.1,<2.27.2 || >2.27.2,<2.27.3 || >2.27.3,<3) requires jsonschema (>=4.18.0).
And because jupyterlab-server (2.27.2) depends on jsonschema (>=4.18.0)
and jupyterlab-server (2.27.3) depends on jsonschema (>=4.18.0), jupyterlab-server (>=2.27.1,<3) requires jsonschema (>=4.18.0).
And because notebook (>=7.2.2,<8.0.0) requires jupyterlab-server (>=2.27.1,<3) (1), notebook (>=7.2.2,<8.0.0) requires jsonschema (>=4.18.0)
So, because dagster-project depends on both jsonschema (3.2.0) and notebook (^7.2.2), version solving failed.
This is fixable by uninstalling notebook (which also uninstalls jupyterlab-server), install the older jsonschema version, install label-studio, and then reinstall jupyter. But it would be nice to access all of the most up to date jupyter features while using this library.
Some other old packages I found were these two which it had to downgrade in my local env (don't think they matter particularly but probably best practice to keep them up to date)
- Downgrading pytz (2024.2 -> 2022.7.1)
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [e.g. iOS]
- Label Studio Version [e.g. 0.8.0]
Additional context Add any other context about the problem here.
Hello,
We have release coming up soon to 1.14.1 and there has been update to dependences in that release. I'll follow as soon as latest version is released.
Thank you, Abu
Comment by Abubakar Saad Workflow Run