-
Notifications
You must be signed in to change notification settings - Fork 83
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
master
incompatible with traitlets 5.7.*
#588
Comments
Perhaps we should pin to traitlets < 5.7 for now. |
thewtex
added a commit
to thewtex/itkwidgets
that referenced
this issue
Dec 22, 2022
To address InsightSoftwareConsortium#588: > TraitError: label_image_weights shape expected to have 1 components, but got () components We also have to explicitly install notebook, ipywidgets, because they are not installed via dependencies, and set them to versions compatible to traitslets 5.6.
Workaround in #590 . A PR to address this for traitlets 5.7+ is welcome. Currently my efforts are focused on 1.X. This will help keep a working install available for the Jupyter Notebook in 0.X. |
6 tasks
Released in 0.32.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I believe the following change in traitlets, released as part of the 5.7 series
ipython/traitlets@f07afea#diff-c5d3e26eff54b5559a5eb2dabea191c32d6cbc784ea8d33816ecc2ebdd9d4e38R1348
has broken compatiblity with current
master
branch.Sample:
The error may have to do with the default value of
label_image_weights
being set to Nonehttps://github.com/InsightSoftwareConsortium/itkwidgets/blob/master/itkwidgets/widget_viewer.py#L150
Thanks.
The text was updated successfully, but these errors were encountered: