-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,6 +99,7 @@ def update_page_selector(self, _=None): | |
| self.page_selector.options = list( | ||
| range(1, int(len(self.apps_to_display) / self.items_per_page.value + 2)) | ||
| ) | ||
| self.page_selector.value = 1 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am very confused by this. 😅 why |
||
|
|
||
| # this parts makes sure that render function will always run one time only: | ||
| # if page number changed in the previous step - the render was run automatically already | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,18 +18,15 @@ classifiers = | |
| project_urls = | ||
| Bug Tracker = https://github.com/aiidalab/aiidalab-home/issues | ||
|
|
||
| # TODO: Remove widgetsnbextension pin | ||
| # https://github.com/aiidalab/aiidalab-home/issues/149 | ||
| [options] | ||
| packages = find: | ||
| install_requires = | ||
| Jinja2>=2.11.3,<4 | ||
| Markdown>=3.4 | ||
| aiidalab>=v21.10.2 | ||
| ipython~=7.0 | ||
| ipywidgets~=7.6 | ||
| ipywidgets>=7.8.1,<9 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So we still support 7.8.1? How come not just >=8?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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? |
||
| traitlets~=5.0 | ||
| widgetsnbextension<3.6.3 | ||
| notebook~=6.0 | ||
| python_requires = >=3.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.
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?).