InsightSoftwareConsortium / ITKSphinxExamples

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

Notebook checks fail with `traitlets=5.7.0` #407

Closed tbirdso closed 1 year ago

tbirdso commented 1 year ago

Summary

Notebook checks have recently begun failing with TraitError:

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

It appears that this issue coincides with an implicit update from traitlets=5.6.0 to traitlets=5.7.0.

Additional Details

Notebook failure: https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3658276145/jobs/6182854109

Previous successful run: https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3648142319/jobs/6161216373