-
Notifications
You must be signed in to change notification settings - Fork 9
Enable ipywidgets 8.x #207
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
base: main
Are you sure you want to change the base?
Conversation
| aiidalab>=v21.10.2 | ||
| ipython~=7.0 | ||
| ipywidgets~=7.6 | ||
| ipywidgets>=7.8.1,<9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we still support 7.8.1? How come not just >=8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To ensure the existing dependency stacks work, I guess. I cannot imagine the possible set of software combinations this will go into, so it makes sense to keep both for the time being.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, most of the apps I think pin the version to 7.x so we must support both for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as in the AWB PR. Is there anyway we can still support 7.7?
(although this is less pressing here, since aiidalab-home is installed in the image, so whatever minimum version we put here will be the minimum version in the image.
|
I believe this one was a blocker last time we tried this. |
No more blockers :) |
edan-bainglass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
danielhollas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions about the changes
| ipw.dlink( | ||
| (self.app, "available_versions"), | ||
| (self.version_selector.version_to_install, "index"), | ||
| transform=lambda versions: 0 if versions else None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little confused here: is 0 an index and therefore the latest version is selected by default? Maybe worth a comment.
(also why was this not necessary before?).
| self.page_selector.options = list( | ||
| range(1, int(len(self.apps_to_display) / self.items_per_page.value + 2)) | ||
| ) | ||
| self.page_selector.value = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very confused by this. 😅 why 1?
| aiidalab>=v21.10.2 | ||
| ipython~=7.0 | ||
| ipywidgets~=7.6 | ||
| ipywidgets>=7.8.1,<9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as in the AWB PR. Is there anyway we can still support 7.7?
(although this is less pressing here, since aiidalab-home is installed in the image, so whatever minimum version we put here will be the minimum version in the image.
fix #149