InsightSoftwareConsortium / ITKSphinxExamples

Cookbook examples for the Insight Toolkit documented with Sphinx
https://examples.itk.org
Apache License 2.0
53 stars 65 forks source link

COMP: Fix traitlets version to 5.6.0 #408

Closed thewtex closed 1 year ago

thewtex commented 1 year ago

To address #407, notebook CI error:

TraitError: label_image_weights shape expected to have 1 components, but got () components

Co-authored-by: Tom Birdsong tom.birdsong@kitware.com

tbirdso commented 1 year ago

It looks like traitlets-5.7.0 is still being used:

Successfully installed asttokens-2.2.[1](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3660325313/jobs/6187328851#step:5:1) backcall-0.2.0 colorcet-3.0.1 comm-0.1.2 debugpy-1.6.4 decorator-5.1.1 entrypoints-0.4 executing-1.2.0 ipydatawidgets-4.3.2 ipykernel-6.19.2 ipympl-0.9.2 ipython-8.7.0 ipython-genutils-0.2.0 ipywidgets-8.0.3 itk-meshtopolydata-0.10.0 itkwidgets-0.32.4 jedi-0.18.2 jupyter-client-7.4.8 jupyter-core-5.1.0 jupyterlab-widgets-3.0.4 matplotlib-inline-0.1.6 nest-asyncio-1.5.6 param-1.[12](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3660325313/jobs/6187328851#step:5:13).3 parso-0.8.3 pexpect-4.8.0 pickleshare-0.7.5 platformdirs-2.6.0 prompt-toolkit-3.0.36 psutil-5.9.4 ptyprocess-0.7.0 pure-eval-0.2.2 pyct-0.4.8 pygments-2.13.0 pyzmq-24.0.1 stack-data-0.6.2 tornado-6.2 traitlets-5.7.0 traittypes-0.2.1 wcwidth-0.2.5 widgetsnbextension-4.0.4 zstandard-0.19.0

Maybe the Install Build Dependencies notebook CI step needs to be amended to explicitly downgrade traitlets?