-
Notifications
You must be signed in to change notification settings - Fork 134
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
Pin ipywidget version to 7 #1033
Conversation
setup.py specifies >=7 is required, but version 8 introduced breaking changes
setup.py specifies >=7 is required, but version 8 introduced breaking changes
I also got the same bug recently ( (ping @maclandrol for visibility) |
I definitely don't have the insight into the code for bigger changes, but I'd like to have the conda package working again without third party packages being required to work around the situation, so I thought this might be a good start. |
Thanks @pmrv: it seems it would take much time for 7 to 8 migration: https://ipywidgets.readthedocs.io/en/latest/migration_guides.html#migrating-from-7-x-to-8-0 |
@hadim yeah, it's always possible but it's not as simple as one line fix. Please see the link from my previous post. Cheers. |
I'm a bit confused about the failing test. At the top the workflow prints 'nglview/tests/test_cli.py::test_cli NOTE: make sure to open tmpnb_ngl.ipynb in your local machine'. Are there additional steps I need to do in a local check out for the CI to work? |
hi @pmrv Those are the failures: 1
2
3
4
|
@pmrv so it seems to me that this test still installed ipywidgets v8. |
@pmrv please update here to pass the test too: https://github.com/nglviewer/nglview/blob/master/.github/nglview-gha.yml#L13 |
@pmrv ping |
I've added the pin in the indicated file and also in the recipes in Sorry for the delay, but I'm currently hopping between conferences and will not be able to respond in a timely manner. |
Thanks @pmrv for you work. Cheers. |
Following the discussion in #1032 and here, it seems that nglview is only compatible with version 7 of ipywidgets. So I went ahead and pinned this in the environment.yml and setup.py. Feel free to close this again if I've misjudged the situation.